Blackjack

com.amoebacode.blackjack.event
Interface GameEventListener

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

public interface GameEventListener
extends BlackjackEventListener

GameEventListener defines the listener API for game GUI classes.

Version:
0.9
Author:
Jason Gurney

Method Summary
 void setBasicStrategy(BlackjackEvent event)
          Sets the basic strategy tutor in this game display object.
 void setDeck(BlackjackEvent event)
          Sets the deck in this game display object.
 void setHouseRules(BlackjackEvent event)
          Sets the casino options in this game display object.
 void setPreferences(BlackjackEvent event)
          Sets the user preferences in this game display object.
 void setRound(BlackjackEvent event)
          Sets the round in this game display object.
 void updateAvailableCommands(BlackjackEvent event)
          Updates the set of commands available to this game display object.
 void updateBalanceLabel(BlackjackEvent event)
          Updates the current balance label in this game display object.
 void updateBetLabel(BlackjackEvent event)
          Updates the initial bet label in this game display object.
 

Method Detail

setRound

public void setRound(BlackjackEvent event)
Sets the round in this game display object.
Parameters:
event - the BlackjackEvent being fired

setDeck

public void setDeck(BlackjackEvent event)
Sets the deck in this game display object.
Parameters:
event - the BlackjackEvent being fired

setPreferences

public void setPreferences(BlackjackEvent event)
Sets the user preferences in this game display object.
Parameters:
event - the BlackjackEvent being fired

setHouseRules

public void setHouseRules(BlackjackEvent event)
Sets the casino options in this game display object.
Parameters:
event - the BlackjackEvent being fired

setBasicStrategy

public void setBasicStrategy(BlackjackEvent event)
Sets the basic strategy tutor in this game display object.
Parameters:
event - the BlackjackEvent being fired

updateBetLabel

public void updateBetLabel(BlackjackEvent event)
Updates the initial bet label in this game display object.
Parameters:
event - the BlackjackEvent being fired

updateBalanceLabel

public void updateBalanceLabel(BlackjackEvent event)
Updates the current balance label in this game display object.
Parameters:
event - the BlackjackEvent being fired

updateAvailableCommands

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

Blackjack

Copyright © 2002 amoebacode.com.