/// <summary> /// Initializes a new instance of the <see cref="GameService"/> class. /// </summary> public GameService() { _currentGame = new PlayersReport { PlayerLocations = new List<PlayerLocation>(), CurGameState = GameState.PreLaunch }; }
public bool Setup(string password) { var isGameReset = false; if (password == _password) { _currentGame = new PlayersReport { PlayerLocations = new List<PlayerLocation>(), CurGameState = GameState.PreLaunch }; isGameReset = true; } return isGameReset; }