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 voiddispose()Called when this screen should release all resources.voidhide()Called when this screen is no longer the current screen for aGame.voidpause()voidrender(float delta)Called when the screen should render itself.voidresize(int width, int height)voidresume()voidshow()Called when this screen becomes the current screen for aGame.
-
-
-
Method Detail
-
render
public void render(float delta)
Description copied from interface:ScreenCalled when the screen should render itself.
-
resize
public void resize(int width, int height)- Specified by:
resizein interfaceScreen- See Also:
ApplicationListener.resize(int, int)
-
show
public void show()
Description copied from interface:ScreenCalled when this screen becomes the current screen for aGame.
-
hide
public void hide()
Description copied from interface:ScreenCalled when this screen is no longer the current screen for aGame.
-
pause
public void pause()
- Specified by:
pausein interfaceScreen- See Also:
ApplicationListener.pause()
-
resume
public void resume()
- Specified by:
resumein interfaceScreen- See Also:
ApplicationListener.resume()
-
-