|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.display.action.UpdateGameCommandsAction
UpdateGameCommandsAction updates the set of game commands that can be currently executed.
| Field Summary | |
private AvailableGameCommands |
availableCommands
The current set of available commands |
private GameDisplay |
game
The current game being displayed |
| Constructor Summary | |
UpdateGameCommandsAction(GameDisplay game,
AvailableGameCommands availableCommands)
Default public constructor. |
|
| Method Summary | |
void |
performAction()
Updates the availability of the game buttons based on the available commands. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private GameDisplay game
private AvailableGameCommands availableCommands
| Constructor Detail |
public UpdateGameCommandsAction(GameDisplay game,
AvailableGameCommands availableCommands)
game - the current GameDisplayavailableCommands - the current AvailableGameCommands set| Method Detail |
public void performAction()
performAction in interface QueueableAction
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||