|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Room in student.adventure |
---|
Methods in student.adventure that return Room | |
---|---|
Room |
Player.getCurrentRoom()
Return the current room for this player. |
Room |
Room.getExit(java.lang.String direction)
Return the room that is reached if we go from this room in direction "direction". |
Methods in student.adventure with parameters of type Room | |
---|---|
void |
Player.setCurrentRoom(Room room)
Set the current room for this player. |
void |
Room.setExit(java.lang.String direction,
Room neighbor)
Define an exit from this room. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |