Example #1
0
 public bool DestroyFactory(Factory f)
 {
     if (Factories.Contains(f))
     {
         Factories.Remove(f);
         if (ActiveTraders.Contains(f))
         {
             ActiveTraders.Remove(f);
         }
         return(true);
     }
     else
     {
         return(false);
     }
 }