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