Exemplo n.º 1
0
 public override void ApplyEffectKind(Architecture a, Event e)
 {
     while (a.Facilities.Count > 0)
     {
         a.DemolishFacility(a.Facilities[0] as Facility);
     }
 }
Exemplo n.º 2
0
 public override void ApplyEffectKind(Architecture a, Event e)
 {
     foreach (Facility f in a.Facilities)
     {
         if (f.KindID == id)
         {
             a.DemolishFacility(f);
             return;
         }
     }
 }