Example #1
0
 public override void Execute()
 {
     if (_targetUnit.IsAlive)
     {
         _action(_targetUnit);
     }
     else
     {
         ExecuteUnit.Stop();
     }
 }
Example #2
0
 public override void Execute()
 {
     ExecuteUnit.Stop();
 }