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