public abstract class AbstractScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Modifier and Type | Field and Description |
---|---|
protected LandTerrorGame |
game
Obiekt gry.
|
protected com.badlogic.gdx.graphics.g2d.SpriteBatch |
spriteBatch
Sprite dla ekranu.
|
protected com.badlogic.gdx.scenes.scene2d.Stage |
stage
Scena dla ekranu.
|
Constructor and Description |
---|
AbstractScreen(LandTerrorGame game)
Konstruktor ekranu.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
hide() |
void |
pause() |
void |
render(float delta) |
void |
resize(int widht,
int height) |
void |
resume() |
void |
show() |
protected LandTerrorGame game
protected com.badlogic.gdx.scenes.scene2d.Stage stage
protected com.badlogic.gdx.graphics.g2d.SpriteBatch spriteBatch
public AbstractScreen(LandTerrorGame game)
game
- Obiekty gry.public void render(float delta)
render
in interface com.badlogic.gdx.Screen
public void show()
show
in interface com.badlogic.gdx.Screen
public void resume()
resume
in interface com.badlogic.gdx.Screen
public void pause()
pause
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 widht, int height)
resize
in interface com.badlogic.gdx.Screen