|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Uses of Room in |
| Methods in that return Room | |
Room |
TinyMudParseRoomDescription.parse(java.lang.String s)
Parses the room data that is returned from the collaborative environment and returns a Room class that represents the room. |
Room |
TinyMudParseWhereis.parse(java.lang.String s)
|
Room |
MapMud.lookHere()
|
| Uses of Room in mstar |
| Methods in mstar that return Room | |
Room |
MudMap.getCurrentRoom()
Gets the robot's current room in the MUD. |
Room |
MudMap.getPreviousRoom()
Gets the last room that the robot was in. |
Room |
MudMap.getHome()
Gets the room that is the robot's home or default room in the collaborative environment. |
Room |
MudMap.getRoom(Room r)
Given a room find the same room in the map. |
Room |
MudMap.getRoom(int id)
Given the id of a room in the map locate and return that room. |
Room |
MudMap.getRoomWithUnexploredExits()
Starting from the beginning of the map, locate a room that has unexplored exits. |
Room |
MudMap.getRoomWithUnexploredExits(int after)
Starting from the id greater than after, locate a room that has unexplored exits. |
Room |
MudMap.getRoom(java.lang.String name)
Locate a room in the map with the given name. |
abstract Room |
ParseRoomDescription.parse(java.lang.String s)
Parses the room data that is returned from the collaborative environment and returns a Room class that represents the room. |
abstract Room |
ParseWhereis.parse(java.lang.String s)
Parses the whereis command data that is returned from the collaborative environment and returns a Room class that represents the location of the player. |
| Methods in mstar with parameters of type Room | |
void |
MudMap.setCurrentRoom(Room currentRoom)
Sets the robot's current room in the MUD. |
void |
MudMap.setPreviousRoom(Room previousRoom)
Sets the last room that the robot was in. |
void |
MudMap.setHome(Room home)
Sets the room that is the robot's home or default room in the collaborative environment. |
void |
MudMap.add(Room room)
Adds a room to the map and writes the map back to disk. |
void |
MudMap.fastAdd(Room room)
Adds a room to the map but does not write the maps to disk. |
Room |
MudMap.getRoom(Room r)
Given a room find the same room in the map. |
boolean |
MudMap.roomExists(Room theRoom)
Determines if a room in the map exists given another room. |
java.util.Stack |
MudMap.findPath(Room start,
Room destination)
Given two rooms return a Stack that has a set of directions to go from one room to the other. |
java.util.Stack |
MudMap.findPathToRoom(Room start,
Room destination)
Given two rooms return a Stack that has a set of directions to go from one room to the other. |
boolean |
Room.equals(Room r)
This routine determines if the room r is the same as this room. |
| Constructors in mstar with parameters of type Room | |
MudMap.MudMap(Room room)
Create a MUD map and add the specified room. |
|
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||