- Game - Class in adventure
-
This class is the main class for a "World of Zuul"-style adventure game
application.
- Game() - Constructor for class adventure.Game
-
Create the game and initialise its internal map.
- Game(Player, Parser) - Constructor for class adventure.Game
-
Create the game and initialise its internal map.
- get(String) - Method in class adventure.CommandWords
-
Given a command word, find and return the matching command object.
- getCommand(String) - Method in class adventure.Parser
-
Get the next command based on the specified input.
- getCurrentRoom() - Method in class adventure.Player
-
Return the current room for this player.
- getExit(String) - Method in class adventure.Room
-
Return the room that is reached if we go from this room in direction
"direction".
- getExitDirections() - Method in class adventure.Room
-
Return a set of all of the directions one can exit from this room.
- getExitString() - Method in class adventure.Room
-
Return a string describing the room's exits, for example
"Exits: north west".
- getLongDescription() - Method in class adventure.Room
-
Return a long description of this room, including a list of
available exits.
- getSecondWord() - Method in class adventure.Command
-
Return the second word of this command.
- getShortDescription() - Method in class adventure.Room
-
Return the description of the room (the one that was defined in the
constructor).
- GoCommand - Class in adventure
-
Implementation of the 'go' user command for adventure games.
- GoCommand() - Constructor for class adventure.GoCommand
-
Constructor for objects of class GoCommand