Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
G
H
M
P
Q
R
S
W
G
Game
- Class in
student.adventure
This class is the main class for a simple text adventure game application.
Game()
- Constructor for class student.adventure.
Game
Create the game and initialize its internal map.
Game(Player, Parser)
- Constructor for class student.adventure.
Game
Create the game and initialize its internal map.
get(String)
- Method in class student.adventure.
CommandWords
Given a command word, find and return the matching command object.
getCommand()
- Method in class student.adventure.
Parser
Get the next command from the input sequence.
getCurrentRoom()
- Method in class student.adventure.
Player
Return the current room for this player.
getExit(String)
- Method in class student.adventure.
Room
Return the room that is reached if we go from this room in direction "direction".
getLongDescription()
- Method in class student.adventure.
Room
Return a long description of this room, including a list of available exits.
getSecondWord()
- Method in class student.adventure.
Command
Return the second word of this command.
getShortDescription()
- Method in class student.adventure.
Room
Return the description of the room (the one that was defined in the constructor).
GoCommand
- Class in
student.adventure
Implementation of the 'go' user command for adventure games.
GoCommand()
- Constructor for class student.adventure.
GoCommand
Constructor for objects of class GoCommand
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
G
H
M
P
Q
R
S
W