FileDocCategorySizeDatePackage
Room.javaAPI DocExample501Sun Mar 16 14:55:30 GMT 2003metrolib

Room

public class Room extends Object
A Room is one location in the game.

Fields Summary
Room
north
The exits from this Room
Room
east
Room
south
Room
west
String
entryMessage
The message to display when entering this room
String
exitMessage
The message (if any) to display when leaving
Constructors Summary
Methods Summary
public voidsetAll(metrolib.Room n, metrolib.Room e, metrolib.Room s, metrolib.Room w, java.lang.String inMsg, java.lang.String outMsg)


	         
		    
		north = n; east = e; south = s; west = w;
		entryMessage = inMsg;
		exitMessage = outMsg;