APIdia Launch Partner
Top Description Constructors Methods
com.badlogic.gdx

public Class ScreenAdapter

extends Object
implements Screen
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.Screen, com.badlogic.gdx.utils.Disposable

Convenience implementation of Screen. Derive from this and only override what you need.
Author
semtiko

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
dispose()

Implements com.badlogic.gdx.Screen.dispose.

Called when this screen should release all resources.

public void
hide()

Implements com.badlogic.gdx.Screen.hide.

Called when this screen is no longer the current screen for a Game.

public void
public void
render(float delta)

Implements com.badlogic.gdx.Screen.render.

Called when the screen should render itself.

public void
resize(int width, int height)

Implements com.badlogic.gdx.Screen.resize.

public void
public void
show()

Implements com.badlogic.gdx.Screen.show.

Called when this screen becomes the current screen for a Game.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ScreenAdapterback to summary
public ScreenAdapter()

Method Detail

disposeback to summary
public void dispose()

Implements com.badlogic.gdx.Screen.dispose.

Doc from com.badlogic.gdx.Screen.dispose.

Called when this screen should release all resources.

Annotations
@Override
hideback to summary
public void hide()

Implements com.badlogic.gdx.Screen.hide.

Doc from com.badlogic.gdx.Screen.hide.

Called when this screen is no longer the current screen for a Game.

Annotations
@Override
pauseback to summary
public void pause()

Implements com.badlogic.gdx.Screen.pause.

Annotations
@Override
renderback to summary
public void render(float delta)

Implements com.badlogic.gdx.Screen.render.

Doc from com.badlogic.gdx.Screen.render.

Called when the screen should render itself.

Annotations
@Override
resizeback to summary
public void resize(int width, int height)

Implements com.badlogic.gdx.Screen.resize.

Annotations
@Override
resumeback to summary
public void resume()

Implements com.badlogic.gdx.Screen.resume.

Annotations
@Override
showback to summary
public void show()

Implements com.badlogic.gdx.Screen.show.

Doc from com.badlogic.gdx.Screen.show.

Called when this screen becomes the current screen for a Game.

Annotations
@Override