public class CharacterCreationScreen extends AbstractScreen
| Modifier and Type | Field and Description |
|---|---|
private CharacterGeneration |
characterGeneration |
private GameMain |
game |
| Constructor and Description |
|---|
CharacterCreationScreen(GameMain game) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
This is to be called when you want to dispose of all data
|
void |
hide()
This method is called when the user hides the window
|
void |
pause()
This is called when the focus is lost on the window
|
void |
render(float delta)
This method is called every render loop
|
void |
resize(int width,
int height)
This method is called on window resize
|
void |
resume()
This method is called when the window is brought back into focus
|
void |
show()
This method overrides the Screen method show()
|
void |
update()
Called every game tick, all screen related logic should be done in this method.
|
private CharacterGeneration characterGeneration
private GameMain game
public CharacterCreationScreen(GameMain game)
public void show()
AbstractScreenshow in interface com.badlogic.gdx.Screenshow in class AbstractScreenpublic void update()
AbstractScreenupdate in class AbstractScreenpublic void render(float delta)
AbstractScreenrender in interface com.badlogic.gdx.Screenrender in class AbstractScreendelta - - The time in seconds since the last drawpublic void resize(int width,
int height)
AbstractScreenresize in interface com.badlogic.gdx.Screenresize in class AbstractScreenwidth - - The new widthheight - - The new heightpublic void pause()
AbstractScreenpause in interface com.badlogic.gdx.Screenpause in class AbstractScreenpublic void resume()
AbstractScreenresume in interface com.badlogic.gdx.Screenresume in class AbstractScreenpublic void hide()
AbstractScreenhide in interface com.badlogic.gdx.Screenhide in class AbstractScreenpublic void dispose()
AbstractScreendispose in interface com.badlogic.gdx.Screendispose in class AbstractScreen