Пример #1
0
 private void OnStartGame()
 {
     _currentLevel = _levelsManager.FindOpenedOrLastLevel();
     if (_currentLevel.State != LevelState.Pass)
     {
         MapControl.ChandgeLevel(_levelsManager.GetCurrentLevelId(), _currentLevel.State);
     }
     StartGame();
 }