Blackjack

com.amoebacode.blackjack.display.action
Class TurnOverCardAction

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.action.TurnOverCardAction
All Implemented Interfaces:
QueueableAction

public class TurnOverCardAction
extends java.lang.Object
implements QueueableAction

TurnOverCardAction turns over the second dealer card (called when all player hands have finished).

Version:
0.9
Author:
Jason Gurney

Field Summary
private  DealerHandDisplay hand
          The dealer hand to reveal
 
Constructor Summary
TurnOverCardAction(DealerHandDisplay hand)
          Default public constructor.
 
Method Summary
 void performAction()
          Turns over the dealer hold card.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

hand

private DealerHandDisplay hand
The dealer hand to reveal
Constructor Detail

TurnOverCardAction

public TurnOverCardAction(DealerHandDisplay hand)
Default public constructor.
Parameters:
hand - the DealerHandDisplay to reveal
Method Detail

performAction

public void performAction()
Turns over the dealer hold card.
Specified by:
performAction in interface QueueableAction

Blackjack

Copyright © 2002 amoebacode.com.