Example #1
0
 public void RemoveMobs()
 {
     foreach (Mobile target in Mobs.ToArray())
     {
         target.Delete();
     }
     if (Boss != null)
     {
         Boss.Delete();
     }
     if (Anim1 != null)
     {
         Anim1.Delete();
     }
     if (Anim2 != null)
     {
         Anim2.Delete();
     }
     Mobs.Clear();
     Mobs.TrimExcess();
 }