public class LeaderboardScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Constructor and Description |
---|
LeaderboardScreen(Thyme game)
Initializes the game instance variable.
|
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 . |
public LeaderboardScreen(Thyme game)
game
- The gamepublic void show()
Game
.
Creates the GUI items
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