public class Thyme
extends com.badlogic.gdx.Game
Constructor and Description |
---|
Thyme() |
Modifier and Type | Method and Description |
---|---|
void |
addScore(Score toAdd)
Adds a score to the scores queue.
|
void |
catScores(java.lang.String name)
Add the score to the scoreboard
|
void |
clearScores()
Clear the queue of scores.
|
void |
create()
Show the intro animation or the home screen.
|
void |
setInputProcessor(com.badlogic.gdx.InputProcessor processor)
Sets the input processor, but allows us to override certain keys.
|
void |
setScreen(com.badlogic.gdx.Screen screen)
Dispose the current screen before displaying the new one.
|
public void create()
On linux, FFMPEG does not play very well with LibGDX-video
public void setInputProcessor(com.badlogic.gdx.InputProcessor processor)
processor
- The input processor to usepublic void addScore(Score toAdd)
toAdd
- The score tp be addedpublic void catScores(java.lang.String name) throws java.io.IOException
java.io.IOException
public void clearScores()
public void setScreen(com.badlogic.gdx.Screen screen)
setScreen
in class com.badlogic.gdx.Game
screen
- the screen to change to