Exemplo n.º 1
0
 void StartGame()
 {
     Assert.That(_state == GameStates.WaitingToStart || _state == GameStates.GameOver);
     _state = GameStates.Playing;
     _runner.Initialize();
     _enemyManager.Initialize();
     _score.Initialize();
     _scene.Initialize();
     _gameOverUI.Hide();
 }