Constructor and Description |
---|
AnimationScreen(Thyme game)
Initializes the class with the current game
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called when this screen should release all resources.
|
void |
hide()
Called when this screen is no longer the current screen for a
Game . |
void |
pause() |
void |
render(float delta)
Called when the screen should render itself.
|
void |
resize(int width,
int height) |
void |
resume() |
void |
show()
Called when this screen becomes the current screen for a
Game . |
void |
skip()
Skip to the humescreen, and stop the video of it's still playing.
|
public AnimationScreen(Thyme game)
game
- the current gamepublic void skip()
public void show()
Game
.show
in interface com.badlogic.gdx.Screen
public void render(float delta)
render
in interface com.badlogic.gdx.Screen
delta
- The time in seconds since the last render.public void resize(int width, int height)
resize
in interface com.badlogic.gdx.Screen
width
- height
- ApplicationListener.resize(int, int)
public void pause()
pause
in interface com.badlogic.gdx.Screen
ApplicationListener.pause()
public void resume()
resume
in interface com.badlogic.gdx.Screen
ApplicationListener.resume()
public void hide()
Game
.hide
in interface com.badlogic.gdx.Screen
public void dispose()
dispose
in interface com.badlogic.gdx.Screen