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