|
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
|
+--com.amoebacode.blackjack.command.BuyInsuranceCommand
BuyInsuranceCommand sends a buy insurance command to its corresponding player hand.
| Fields inherited from class com.amoebacode.blackjack.command.PlayerHandCommand |
playerHand |
| Constructor Summary | |
protected |
BuyInsuranceCommand(IPlayerHand playerHand)
Default protected constructor. |
| Method Summary | |
void |
execute()
Buys insurance for the corresponding player hand. |
| Methods inherited from class com.amoebacode.blackjack.command.PlayerHandCommand |
getPlayerHand |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
protected BuyInsuranceCommand(IPlayerHand playerHand)
playerHand - the IPlayerHand target for this command| Method Detail |
public void execute()
execute in class PlayerHandCommand
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||