Пример #1
0
 public void Reset()
 {
     if (th1 != null || th2 != null)
     {
         if (th1.IsAlive || th2.IsAlive)
         {
             th1.Abort();
             th2.Abort();
             ThreadIsStarted = false;
         }
     }
     Fighter1.Reset();
     Fighter2.Reset();
 }