/// <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"); } }
public void Stop() { if (state == ControllerState.Attacking) { Core.stop(); UpdateData("Остановка атаки..."); if (mode) { SendStopSignal(); } state = ControllerState.Suspending; } else { UpdateData("Атака еще не запущена"); } }