Package | Description |
---|---|
student.adventure |
This package provides all of the course-specific classes based
on the "World of Zuul" adventure game example from Chapter 7
of Objects First with Java by Michael Kolling
and David Barnes.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Command |
CommandWords.get(String word)
Given a command word, find and return the matching command object.
|
Command |
Parser.getCommand()
Get the next command from the input sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandWords.addCommand(String word,
Command command)
Add (or replace) a command word.
|