|
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.BasicStrategyEventListenerCollection
BasicStrategyEventListenerCollection manages a collection of basic strategy event listeners.
| Fields inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
listeners |
| Constructor Summary | |
BasicStrategyEventListenerCollection()
Default public constructor. |
|
| Method Summary | |
void |
fireBuyingInsuranceEvent(IBasicStrategy strat)
Fires a buying insurance event to all of the listeners in this collection. |
void |
fireIncorrectMoveEvent(IBasicStrategy strat,
java.lang.String playerScore,
int dealerScore,
java.lang.String correctMove)
Fires an incorrect move 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 BasicStrategyEventListenerCollection()
| Method Detail |
public void fireBuyingInsuranceEvent(IBasicStrategy strat)
strat - the IBasicStrategy source of the event
public void fireIncorrectMoveEvent(IBasicStrategy strat,
java.lang.String playerScore,
int dealerScore,
java.lang.String correctMove)
strat - the IBasicStrategy source of the eventplayerScore - the player score for the eventdealerScore - the dealer score for the eventcorrectMove - the correct move for the event
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||