Пример #1
0
 private void Loose(ITile triggeredTile)
 {
     _gameTimer.Stop();
     _state = GameState.Lost;
     _board.RevealMinesAndLockAll(triggeredTile);
     _gameBox.ShowGameSummary(GameSummary.LostGameSummary(_gameSettings, _board, _flippedCount, _secondsElapsed));
 }
Пример #2
0
 private void Win()
 {
     _gameTimer.Stop();
     _state = GameState.Won;
     _board.RevealMinesAndLockAll(null);
     _gameBox.ShowGameSummary(GameSummary.WonGameSummary(_gameSettings, _board, _flippedCount, _secondsElapsed));
 }