public void startGame() { gameScreen = new GameScreen(this); currentScreen = Screen.GameScreen; startScreen = null; controlsScreen = null; gameoverScreen = null; }
public void quitGame() { startScreen = new StartScreen(this); currentScreen = Screen.StartScreen; gameScreen = null; scoreboardScreen = null; controlsScreen = null; gameoverScreen = null; }
public void gameOver(Score score) { gameoverScreen = new GameoverScreen(this, score); currentScreen = Screen.GameoverScreen; gameScreen = null; scoreboardScreen = null; startScreen = null; controlsScreen = null; }
public void startControls() { controlsScreen = new ControlsScreen(this); currentScreen = Screen.ControlsScreen; gameScreen = null; scoreboardScreen = null; startScreen = null; gameoverScreen = null; }
public void startScoreBoard() { scoreboardScreen = new ScoreboardScreen(this); currentScreen = Screen.ScoreboardScreen; startScreen = null; gameScreen = null; controlsScreen = null; gameoverScreen = null; }