Package com.badlogic.gdx
Class ScreenAdapter
- java.lang.Object
-
- com.badlogic.gdx.ScreenAdapter
-
-
Constructor Summary
Constructors Constructor Description ScreenAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Called when this screen should release all resources.void
hide()
Called when this screen is no longer the current screen for aGame
.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 aGame
.
-
-
-
Method Detail
-
render
public void render(float delta)
Description copied from interface:Screen
Called when the screen should render itself.
-
resize
public void resize(int width, int height)
- Specified by:
resize
in interfaceScreen
- See Also:
ApplicationListener.resize(int, int)
-
show
public void show()
Description copied from interface:Screen
Called when this screen becomes the current screen for aGame
.
-
hide
public void hide()
Description copied from interface:Screen
Called when this screen is no longer the current screen for aGame
.
-
pause
public void pause()
- Specified by:
pause
in interfaceScreen
- See Also:
ApplicationListener.pause()
-
resume
public void resume()
- Specified by:
resume
in interfaceScreen
- See Also:
ApplicationListener.resume()
-
-