|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.command.GameCommand
GameCommand is the base class for all game commands.
| Field Summary | |
private IGame |
game
The game target for this command |
| Constructor Summary | |
protected |
GameCommand(IGame game)
Default protected constructor. |
| Method Summary | |
abstract void |
execute()
Executes this game command. |
protected IGame |
getGame()
Returns the game target for this command. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private IGame game
| Constructor Detail |
protected GameCommand(IGame game)
game - the IGame target for this command| Method Detail |
public abstract void execute()
execute in interface ICommandprotected IGame getGame()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||