//resumes game when it is paused public void ResumeGame(GameScreen currentGame) { gameScreen = currentGame; currentScreen = Screen.GameScreen; pauseScreen = null; }
public void ResumeGame(GameScreen currentGame) //resumes game when it is paused { gameScreen = currentGame; currentScreen = Screen.GameScreen; pauseScreen = null; }
//pauses game public void PauseGame(Game1 game1, GameScreen currentGame) { pauseScreen = new PauseScreen(game1, currentGame); currentScreen = Screen.PauseScreen; }
public void PauseGame(Game1 game1, GameScreen currentGame) //pauses game { pauseScreen = new PauseScreen(game1, currentGame); currentScreen = Screen.PauseScreen; }