Beispiel #1
0
 private void LaunchAttacks()
 {
     mortarState = TelegraphableAttack.State.Attacking;
     foreach (Mortar mortar in mortars)
     {
         mortar.LaunchAttack();
     }
 }
Beispiel #2
0
 public override void TimeUpdated()
 {
     base.TimeUpdated();
     if (lazerState == TelegraphableAttack.State.Telegraphing && t > telegraphDuration)
     {
         LaunchAttacks();
         lazerState = TelegraphableAttack.State.Attacking;
     }
 }