Exemple #1
0
 /// <summary>
 /// Останавливает атаку
 /// </summary>
 public void Stop()
 {
     if (state == ControllerState.Attacking)
     {
         Core.stop();
         UpdateData("Stopping the attack ...");
         if (mode)
         {
             SendStopSignal();
         }
         state = ControllerState.Suspending;
     }
     else
     {
         UpdateData("The attack has not yet started");
     }
 }
Exemple #2
0
 public void Stop()
 {
     if (state == ControllerState.Attacking)
     {
         Core.stop();
         UpdateData("Остановка атаки...");
         if (mode)
         {
             SendStopSignal();
         }
         state = ControllerState.Suspending;
     }
     else
     {
         UpdateData("Атака еще не запущена");
     }
 }