public class EndLevelScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
| Constructor and Description |
|---|
EndLevelScreen(Thyme game,
GameLevel currentLevel,
java.util.List<Task> tasks,
int points)
Constructs the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called when this screen should release all resources.
|
GameLevel |
getLevel()
Gets the level.
|
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. |
public void show()
Game.show in interface com.badlogic.gdx.Screenpublic void render(float delta)
render in interface com.badlogic.gdx.Screendelta - The time in seconds since the last render.public void resize(int width,
int height)
resize in interface com.badlogic.gdx.Screenwidth - height - ApplicationListener.resize(int, int)public void pause()
pause in interface com.badlogic.gdx.ScreenApplicationListener.pause()public void resume()
resume in interface com.badlogic.gdx.ScreenApplicationListener.resume()public void hide()
Game.hide in interface com.badlogic.gdx.Screenpublic void dispose()
dispose in interface com.badlogic.gdx.Screenpublic GameLevel getLevel()