コード例 #1
0
 public override void DoWork(Architecture architecture)
 {
     foreach (Military military in architecture.Militaries)
     {
         if ((military.Kind.ID == this.kind) && (military.InjuryQuantity == 0))
         {
             architecture.RecruitmentMilitary(military, this.rate);
         }
     }
 }