|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.amoebacode.blackjack.event.EventListenerCollection
|
+--com.amoebacode.blackjack.event.GameEventListenerCollection
GameEventListenerCollection manages a collection of game event listeners.
| Fields inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
listeners |
| Constructor Summary | |
GameEventListenerCollection()
Default public constructor. |
|
| Method Summary | |
void |
fireAvailableCommandsEvent(AvailableGameCommands availableCommands)
Fires an update available commands event to all of the listeners in this collection. |
void |
fireSetBasicStrategyEvent(IBasicStrategy basicStrategy)
Fires a set basic strategy tutor event to all of the listeners in this collection. |
void |
fireSetDeckEvent(IDeck deck)
Fires a set deck event to all of the listeners in this collection. |
void |
fireSetHouseRulesEvent(IHouseRules houseRules)
Fires a set casino options event to all of the listeners in this collection. |
void |
fireSetPreferencesEvent(IPreferences preferences)
Fires a set preferences event to all of the listeners in this collection. |
void |
fireSetRoundEvent(IRound round)
Fires a set deck event to all of the listeners in this collection. |
void |
fireUpdateBalanceLabelEvent(IGame game)
Fires an update balance label event to all of the listeners in this collection. |
void |
fireUpdateBetLabelEvent(IGame game)
Fires an update bet label event to all of the listeners in this collection. |
| Methods inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
addEventListener, getEventListenerAt, getNumberOfListeners |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public GameEventListenerCollection()
| Method Detail |
public void fireSetDeckEvent(IDeck deck)
deck - the IDeck source of the eventpublic void fireSetPreferencesEvent(IPreferences preferences)
preferences - the IPreferences source of the eventpublic void fireSetHouseRulesEvent(IHouseRules houseRules)
houseRules - the IHouseRules source of the eventpublic void fireSetBasicStrategyEvent(IBasicStrategy basicStrategy)
basicStrategy - the IBasicStrategy source of the eventpublic void fireUpdateBetLabelEvent(IGame game)
game - the IGame source of the eventpublic void fireUpdateBalanceLabelEvent(IGame game)
game - the IGame source of the eventpublic void fireAvailableCommandsEvent(AvailableGameCommands availableCommands)
availableCommands - the AvailableGameCommands source of the eventpublic void fireSetRoundEvent(IRound round)
deck - the IDeck source of the event
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||