public abstract class GameAdapter extends java.lang.Object implements GameListener
GameListener that allows to only overwrite
individual callbacks in anonymous implementations.GameListener| Constructor and Description |
|---|
GameAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
started()
This method gets called after the
Game.start method was executed. |
void |
terminated()
This method is called when the
Game was terminated (just before System.exit is about to be called). |
boolean |
terminating()
This method gets called before the
Game is about to be terminated. |
public void started()
GameListenerGame.start method was executed.started in interface GameListenerpublic boolean terminating()
GameListenerGame is about to be terminated.
Returning false prevents the terminate event to continue.terminating in interface GameListenerpublic void terminated()
GameTerminatedListenerGame was terminated (just before System.exit is about to be called).terminated in interface GameTerminatedListener