|
CS 1705 Library | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Room | |
|---|---|
| cs1705.adventure | This package provides all of the course-specific classes based on the "World of Zuul" adventure game example from Chapter 7 of Objects First with Java by Michael Kolling and David Barnes. |
| Uses of Room in cs1705.adventure |
|---|
| Methods in cs1705.adventure that return Room | |
|---|---|
Room |
Player.getCurrentRoom()
Return the current room for this player. |
Room |
Room.getExit(String direction)
Return the room that is reached if we go from this room in direction "direction". |
| Methods in cs1705.adventure with parameters of type Room | |
|---|---|
void |
Player.setCurrentRoom(Room room)
Set the current room for this player. |
void |
Room.setExit(String direction,
Room neighbor)
Define an exit from this room. |
|
Last updated: Wed, Apr 1, 2009 12:29 AM EDT | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||