| Constructor and Description |
|---|
ContentAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
onActivate(ScreenId predecessor,
com.badlogic.gdx.InputMultiplexer inputMultiplexer)
Will be called when the underlying screen gets activated.
|
void |
onBind(ScreenContext screenContext)
Will be called after the screen, which holds a reference to this object, gets added to a screen switch.
|
float |
onDeactivate(ScreenId successor,
com.badlogic.gdx.InputMultiplexer inputMultiplexer)
Will be called when underlying screen gets deactivated.
|
void |
onPause()
Will always be called on pause.
|
void |
onRender()
Will be called on render.
|
void |
onResize(int width,
int height)
Will be called on resize.
|
void |
onResume()
Will always be called on resume.
|
void |
onUpdate()
Will be called on update.
|
public void onBind(ScreenContext screenContext)
Contentpublic void onActivate(ScreenId predecessor, com.badlogic.gdx.InputMultiplexer inputMultiplexer)
ContentonActivate in interface Contentpredecessor - predecessor of the screeninputMultiplexer - Will chain input processorspublic float onDeactivate(ScreenId successor, com.badlogic.gdx.InputMultiplexer inputMultiplexer)
ContentonDeactivate in interface Contentsuccessor - successor of the screeninputMultiplexer - Will chain input processorspublic void onUpdate()
Contentpublic void onRender()
Contentpublic void onPause()
Contentpublic void onResume()
Contentpublic void onResize(int width,
int height)
Contentpublic void dispose()
dispose in interface com.badlogic.gdx.utils.Disposable