Пример #1
0
 private void StartHit3()
 {
     Opponent.SwitchMovement(OpponentState.CircleMovement);
     PopupText.ShowText("3x bombs!", 1);
     state = Mission4State.Hit3;
     UI.UpdateQuest(1, MaxQuest);
     Controller.DummyAttack = true;
     UI.SetGoalText("Hit target with mortar", string.Format("{0} / {1}", mortarHits, 3));
 }
Пример #2
0
 private void StartBeatIt()
 {
     Opponent.SwitchMovement(OpponentState.MortarFiring);
     PopupText.ShowText("Beat it!", 1);
     state = Mission4State.BeatIt;
     UI.UpdateQuest(2, MaxQuest);
     Controller.DummyAttack = false;
     UI.SetGoalText("Beat opponent", string.Format("Health remaining: {0:0.00}", Controller.OpponentHealth.Health > 0 ? Controller.OpponentHealth.Health : 0));
 }
Пример #3
0
 private void DoneLose()
 {
     state = Mission4State.Done;
     if (Controller != null)
     {
         Controller.Stop();
     }
     if (Opponent != null)
     {
         Opponent.Stop();
     }
     UI.MissionDone(false);
 }