- Game - Class in <Unnamed>
-
Sets up and controls the game
- Game() - Constructor for class Game
-
Create the game and initialise it
- getCommand() - Method in class Parser
-
builds a command from the user input
- getCommandWord() - Method in class Command
-
return the command word (the first word) of this command.
- getCurrentRoom() - Method in class Player
-
Returns the room in which the player is currently located
- getDescription() - Method in class Item
-
Returns the description of the item
- getDescription() - Method in class Room
-
Returns the description of the room
- getExit(String) - Method in class Room
-
Return the room that is reached if we go from this room in direction
"direction".
- getItem(String) - Method in class Room
-
Returns the item with a specified description
- getItems() - Method in class Room
-
Returns the items in the room
- getName() - Method in class Player
-
Returns the name of this player
- getSecondWord() - Method in class Command
-
return the second word of this command.
- goRoom(Command) - Method in class Player
-
Try to go to one direction.