|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Command in student.adventure |
|---|
| Subclasses of Command in student.adventure | |
|---|---|
class |
GoCommand
Implementation of the 'go' user command for adventure games. |
class |
HelpCommand
Implementation of the 'help' user command for adventure games. |
class |
QuitCommand
Implementation of the 'quit' user command for adventure games. |
| Methods in student.adventure that return Command | |
|---|---|
Command |
CommandWords.get(java.lang.String word)
Given a command word, find and return the matching command object. |
Command |
Parser.getCommand()
Get the next command from the input sequence. |
| Methods in student.adventure with parameters of type Command | |
|---|---|
void |
CommandWords.addCommand(java.lang.String word,
Command command)
Add (or replace) a command word. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||