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 | Method and Description |
---|---|
Player |
Game.player()
Access this game's player.
|
Modifier and Type | Method and Description |
---|---|
boolean |
QuitCommand.execute(Player player)
"Quit" was entered.
|
boolean |
HelpCommand.execute(Player player)
Print out some help information.
|
boolean |
GoCommand.execute(Player player)
Try to go to one direction.
|
abstract boolean |
Command.execute(Player player)
Execute this command.
|
Constructor and Description |
---|
Game(Player player,
Parser parser)
Create the game and initialise its internal map.
|