コード例 #1
0
ファイル: GameState.cs プロジェクト: Josh9309/TBD-The-Game
 //resumes game when it is paused
 public void ResumeGame(GameScreen currentGame)
 {
     gameScreen = currentGame;
     currentScreen = Screen.GameScreen;
     pauseScreen = null;
 }
コード例 #2
0
 public void ResumeGame(GameScreen currentGame) //resumes game when it is paused
 {
     gameScreen    = currentGame;
     currentScreen = Screen.GameScreen;
     pauseScreen   = null;
 }
コード例 #3
0
ファイル: GameState.cs プロジェクト: Josh9309/TBD-The-Game
 //pauses game
 public void PauseGame(Game1 game1, GameScreen currentGame)
 {
     pauseScreen = new PauseScreen(game1, currentGame);
     currentScreen = Screen.PauseScreen;
 }
コード例 #4
0
 public void PauseGame(Game1 game1, GameScreen currentGame) //pauses game
 {
     pauseScreen   = new PauseScreen(game1, currentGame);
     currentScreen = Screen.PauseScreen;
 }