|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.ScreenAdapter
public class ScreenAdapter
Convenience implementation of Screen
. Derive from this and only override what you need.
Constructor Summary | |
---|---|
ScreenAdapter()
|
Method Summary | |
---|---|
void |
dispose()
Called when this screen should release all resources. |
void |
hide()
Called when this screen is no longer the current screen for a Game . |
void |
pause()
|
void |
render(float delta)
Called when the screen should render itself. |
void |
resize(int width,
int height)
|
void |
resume()
|
void |
show()
Called when this screen becomes the current screen for a Game . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenAdapter()
Method Detail |
---|
public void render(float delta)
Screen
render
in interface Screen
delta
- The time in seconds since the last render.public void resize(int width, int height)
resize
in interface Screen
ApplicationListener.resize(int, int)
public void show()
Screen
Game
.
show
in interface Screen
public void hide()
Screen
Game
.
hide
in interface Screen
public void pause()
pause
in interface Screen
ApplicationListener.pause()
public void resume()
resume
in interface Screen
ApplicationListener.resume()
public void dispose()
Screen
dispose
in interface Screen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |