Blackjack

com.amoebacode.blackjack.display
Class DealerDisplay

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.DisplayElement
        |
        +--com.amoebacode.blackjack.display.ParticipantDisplay
              |
              +--com.amoebacode.blackjack.display.DealerDisplay
All Implemented Interfaces:
BlackjackEventListener, DealerEventListener, java.util.EventListener

class DealerDisplay
extends ParticipantDisplay
implements DealerEventListener

DealerDisplay displays the dealer object, including the dealer hand display.

Version:
0.9
Author:
Jason Gurney

Fields inherited from class com.amoebacode.blackjack.display.ParticipantDisplay
handDisplay
 
Fields inherited from class com.amoebacode.blackjack.display.DisplayElement
parent
 
Constructor Summary
protected DealerDisplay(RoundDisplay round)
          Default protected constructor.
 
Method Summary
private  DealerHandDisplay getDealerHandDisplay()
          Returns the dealer hand display object managed by this dealer display.
 void setDealerHand(BlackjackEvent event)
          Sets the dealer hand in this dealer display object.
 
Methods inherited from class com.amoebacode.blackjack.display.ParticipantDisplay
addHandDisplay, getHandDisplayAt
 
Methods inherited from class com.amoebacode.blackjack.display.DisplayElement
executeGameCommand, getDisplayManager, getGameDisplay, getParent, hasParent, playGameClip, queueAction, resumeQueue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

DealerDisplay

protected DealerDisplay(RoundDisplay round)
Default protected constructor.
Parameters:
round - the parent RoundDisplay
Method Detail

getDealerHandDisplay

private DealerHandDisplay getDealerHandDisplay()
Returns the dealer hand display object managed by this dealer display.
Returns:
this dealer's DealerHandDisplay

setDealerHand

public void setDealerHand(BlackjackEvent event)
Description copied from interface: DealerEventListener
Sets the dealer hand in this dealer display object.
Specified by:
setDealerHand in interface DealerEventListener
See Also:
DealerEventListener.setDealerHand(BlackjackEvent)

Blackjack

Copyright © 2002 amoebacode.com.