public void StopSimulation() { this.gameMatchStart = false; this.ClearSimulation(); this.InitializeSimulation(); SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.StopGameMetrics); SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.GameIsOver); }
public void StartSimulation() { this.gameMatchStart = true; this.sessionNumber = 1; SimulationMetricsLogger.ResetLogger(); SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.StartGameMetrics); SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.GameIsPlaying); }
public void PauseSimulation() { this.gamePaused = !this.gamePaused; if (this.gamePaused) { SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.GameIsOver); } else { SimulationMetricsLogger.SetGameLogger(GameLoggerOptions.GameIsPlaying); } }