public abstract class LazyInitScreen
extends com.badlogic.gdx.ScreenAdapter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isInitialized |
| Constructor and Description |
|---|
LazyInitScreen() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
init()
Do your initialization here.
|
void |
render(float delta) |
void |
show() |
protected abstract void |
update(float deltaChange)
Perform any updates here which will fire each {this.render}
call.
|
protected abstract void init()
protected abstract void update(float deltaChange)
deltaChange - the time in seconds since the last update callpublic void show()
show in interface com.badlogic.gdx.Screenshow in class com.badlogic.gdx.ScreenAdapterpublic void render(float delta)
render in interface com.badlogic.gdx.Screenrender in class com.badlogic.gdx.ScreenAdapter