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