public class NamePromptScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Constructor and Description |
---|
NamePromptScreen(Thyme game)
Constructs the object.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called when this screen should release all resources.
|
com.kotcrab.vis.ui.widget.VisTextField |
getNameField()
Gets the name field.
|
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 NamePromptScreen(Thyme game)
game
- The gamepublic 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
public com.kotcrab.vis.ui.widget.VisTextField getNameField()