Class Help
java.lang.Object
Command
Help
public class Help
- extends Command
The help command of the game.
It provides information about all commands.
- Version:
- 28/1/2015
- Author:
- Olaf Chitil
Constructor Summary |
Help()
|
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Help
public Help()
process
public String process(GameMain ui,
Game game)
- Return help information.
Pre-condition: both ui and game are not null;
- Overrides:
process
in class Command
game
- The actual game.
- Returns:
- Message to the player.