|
CS 1705 Library | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Command | |
|---|---|
| cs1705.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. |
| Uses of Command in cs1705.adventure |
|---|
| Subclasses of Command in cs1705.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 cs1705.adventure that return Command | |
|---|---|
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. |
| Methods in cs1705.adventure with parameters of type Command | |
|---|---|
void |
CommandWords.addCommand(String word,
Command command)
Add (or replace) a command word. |
|
Last updated: Wed, Apr 1, 2009 12:29 AM EDT | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||