- Command - Class in adventure
-
This class is an abstract superclass for all command classes in the game.
- Command() - Constructor for class adventure.Command
-
Create a command object.
- CommandWords - Class in adventure
-
This class holds a collection of all command words known to the game.
- CommandWords() - Constructor for class adventure.CommandWords
-
Constructor - initialise the command words.
- commandWords() - Method in class adventure.Parser
-
Access the set of valid command words.
- createCommands() - Method in class adventure.Game
-
Create all the commands this game knows about.
- createRooms() - Method in class adventure.Game
-
Create all the rooms and link their exits together.