public abstract class Screen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Constructor and Description |
---|
Screen(com.jonathan.survivor.Survivor game) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called either when the Application is ended, or when the user switches out of this screen.
|
void |
hide()
Called when the user switches out of this screen.
|
void |
render(float deltaTime)
Called every frame to update game logic or draw graphics to the screen
|
void |
resize(int width,
int height) |
public void render(float deltaTime)
render
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