|
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.PlayerEventListenerCollection
PlayerEventListenerCollection manages a collection of player event listeners.
| Fields inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
listeners |
| Constructor Summary | |
PlayerEventListenerCollection()
Default public constructor. |
|
| Method Summary | |
void |
fireAddPlayerHandEvent(IPlayerHand hand)
Fires an add player hand event to all of the listeners in this collection. |
void |
fireDisplayNetGainEvent(IPlayer player)
Fires a display net gain 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 PlayerEventListenerCollection()
| Method Detail |
public void fireDisplayNetGainEvent(IPlayer player)
player - the IPlayer source of the eventpublic void fireAddPlayerHandEvent(IPlayerHand hand)
hand - the IPlayerHand source of the event
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||