Blackjack

com.amoebacode.blackjack.event
Interface PlayerHandEventListener

All Superinterfaces:
BlackjackEventListener, java.util.EventListener, HandEventListener
All Known Implementing Classes:
PlayerHandDisplay

public interface PlayerHandEventListener
extends HandEventListener

PlayerHandEventListener defines the listener API for player hand GUI classes.

Version:
0.9
Author:
Jason Gurney

Method Summary
 void drawNetGain(BlackjackEvent event)
          Draws the net gain for this player hand display object.
 void updateAvailableCommands(BlackjackEvent event)
          Updates the set of commands available to this player hand display object.
 void updateBetLabel(BlackjackEvent event)
          Updates the bet label for this player hand display object.
 
Methods inherited from interface com.amoebacode.blackjack.event.HandEventListener
addCard, clear, removeCard
 

Method Detail

updateBetLabel

public void updateBetLabel(BlackjackEvent event)
Updates the bet label for this player hand display object.
Parameters:
event - the BlackjackEvent being fired

drawNetGain

public void drawNetGain(BlackjackEvent event)
Draws the net gain for this player hand display object.
Parameters:
event - the BlackjackEvent being fired

updateAvailableCommands

public void updateAvailableCommands(BlackjackEvent event)
Updates the set of commands available to this player hand display object.
Parameters:
event - the BlackjackEvent being fired

Blackjack

Copyright © 2002 amoebacode.com.