public abstract class BasicGameScreen extends java.lang.Object implements GameScreen
GameScreen for quick setup| Constructor and Description |
|---|
BasicGameScreen() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPause()
Called when the game window is no longer active or visible.
|
void |
onResize(int width,
int height)
Called when the game window's dimensions changes.
|
void |
onResume()
Called when the game window becomes active or visible again
|
void |
postTransitionIn(Transition transitionIn)
Called after the transition in
|
void |
postTransitionOut(Transition transitionOut)
Called after the transition out
|
void |
preTransitionIn(Transition transitionIn)
Called before the transition in
|
void |
preTransitionOut(Transition transitionOut)
Called before the transition out
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, initialise, interpolate, render, updatepublic void onResize(int width,
int height)
GameScreenonResize in interface GameScreenwidth - The new game window widthheight - The new game window heightpublic void onPause()
GameScreenonPause in interface GameScreenpublic void onResume()
GameScreenonResume in interface GameScreenpublic void preTransitionIn(Transition transitionIn)
GameScreenpreTransitionIn in interface GameScreentransitionIn - The Transition in to this screenpublic void postTransitionIn(Transition transitionIn)
GameScreenpostTransitionIn in interface GameScreentransitionIn - The Transition in to this screenpublic void preTransitionOut(Transition transitionOut)
GameScreenpreTransitionOut in interface GameScreentransitionOut - The Transition out from this screenpublic void postTransitionOut(Transition transitionOut)
GameScreenpostTransitionOut in interface GameScreentransitionOut - The Transition out from this screen