Beispiel #1
0
 public void ShowDisaster(Disaster d)
 {
     if (d.Center.IsVisible)
     {
         ActiveDisaster = d;
         GameState      = GameState.AlertFlash;
         GameUI.Alert_StartFlash();
         _disasterTime = 0f;
     }
     else
     {
         d.ApplyEffect();
     }
 }