public abstract class AbstractScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Modifier and Type | Field and Description |
---|---|
protected int |
applicationHeight |
protected int |
applicationWidth |
protected com.badlogic.gdx.graphics.OrthographicCamera |
camera |
protected com.badlogic.gdx.InputMultiplexer |
inputMultiplexer |
protected com.badlogic.gdx.scenes.scene2d.Stage |
stage |
protected com.badlogic.gdx.utils.viewport.Viewport |
viewport |
Constructor and Description |
---|
AbstractScreen() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
hide() |
void |
pause() |
void |
render(float delta) |
void |
resize(int width,
int height) |
void |
resume() |
void |
show() |
protected final int applicationWidth
protected final int applicationHeight
protected final com.badlogic.gdx.graphics.OrthographicCamera camera
protected final com.badlogic.gdx.scenes.scene2d.Stage stage
protected final com.badlogic.gdx.InputMultiplexer inputMultiplexer
protected com.badlogic.gdx.utils.viewport.Viewport viewport
public void show()
show
in interface com.badlogic.gdx.Screen
public void pause()
pause
in interface com.badlogic.gdx.Screen
public void resume()
resume
in interface com.badlogic.gdx.Screen
public void hide()
hide
in interface com.badlogic.gdx.Screen
public void dispose()
dispose
in interface com.badlogic.gdx.Screen
public void resize(int width, int height)
resize
in interface com.badlogic.gdx.Screen
public void render(float delta)
render
in interface com.badlogic.gdx.Screen