private void ChangeActiveGamePhase(GamePhaseEnum gamePhase)
 {
     if (_activeGamePhase != null)
     {
         _activeGamePhase.IsVisible = false;
     }
     _activeGamePhase = _gamePhases[gamePhase];
     _activeGamePhase.Init();
     _activeGamePhase.IsVisible = true;
 }
Exemplo n.º 2
0
 public override void Init()
 {
     _activeGamePhase.Init();
 }