예제 #1
0
 // Is the game Starting?
 public static bool isGameStarting(PossibleGameStates currentGameState)
 {
     return(currentGameState == PossibleGameStates.Starting);
 }
예제 #2
0
 // Is the game paused?
 public static bool isGamePaused(PossibleGameStates currentGameState)
 {
     return(currentGameState == PossibleGameStates.Paused);
 }
예제 #3
0
 // Is the game active?
 public static bool isGameActive(PossibleGameStates currentGameState)
 {
     return(currentGameState == PossibleGameStates.Active);
 }
예제 #4
0
 // Is the game finished?
 public static bool isGameFinished(PossibleGameStates currentGameState)
 {
     return(currentGameState == PossibleGameStates.Finished);
 }
예제 #5
0
 public void setCurrentGameState(PossibleGameStates currentGameState)
 {
     this.currentGameState = currentGameState;
 }