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