|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dartra.framework.GameEventAdapter
Adapter with empty implementations of the methods provided by the GameEventListener interface.
Constructor Summary | |
GameEventAdapter()
|
Method Summary | |
void |
gameEnded(GameEvent ge)
Called when the game ends. |
void |
gameEventSignaled(GameEvent ge)
Called for any game event that occurs. |
void |
gameStarted(GameEvent ge)
Called when the game starts. |
void |
illegalThrow(GameEvent ge)
Called when the player executed and illegal throw. |
void |
matchGameChanged(GameEvent ge)
Called when the current game of a match changes. |
void |
playerChanged(GameEvent ge)
Called when the current player of a game changes. |
void |
scoreChanged(GameEvent ge)
Called when the score of a game changes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GameEventAdapter()
Method Detail |
public void gameStarted(GameEvent ge)
GameEventListener
Called when the game starts.
gameStarted
in interface GameEventListener
public void gameEnded(GameEvent ge)
GameEventListener
Called when the game ends.
gameEnded
in interface GameEventListener
public void matchGameChanged(GameEvent ge)
GameEventListener
Called when the current game of a match changes.
matchGameChanged
in interface GameEventListener
public void playerChanged(GameEvent ge)
GameEventListener
Called when the current player of a game changes.
playerChanged
in interface GameEventListener
public void scoreChanged(GameEvent ge)
GameEventListener
Called when the score of a game changes.
scoreChanged
in interface GameEventListener
public void illegalThrow(GameEvent ge)
GameEventListener
Called when the player executed and illegal throw.
illegalThrow
in interface GameEventListener
public void gameEventSignaled(GameEvent ge)
GameEventListener
Called for any game event that occurs.
gameEventSignaled
in interface GameEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |