|
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.AddCardAction
AddCardAction adds a card to a hand, animating its movement from the deck to the hand.
| Field Summary | |
private CardDisplay |
card
The card being added to the hand |
private HandDisplay |
hand
The hand that is receiving the new card |
| Constructor Summary | |
AddCardAction(HandDisplay hand,
CardDisplay card)
Default public contructor. |
|
| Method Summary | |
void |
performAction()
Adds the card to the hand. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private HandDisplay hand
private CardDisplay card
| Constructor Detail |
public AddCardAction(HandDisplay hand,
CardDisplay card)
hand - the HandDisplay that is receiving the new cardcard - CardDisplay being added to the hand| 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 | ||||||||