示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="value"></param>
 public void AddSomeTillageObjects(int value)
 {
     for (int i = ChildControllers.Count; i < value; ++i)
     {
         TillageObjectController till = new TillageObjectController(Sim, null);
         ChildControllers.Add(till);
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="value"></param>
 public void AddSomeTillageObjects(int value)
 {
     for (int i = Tillage.Count; i < value; ++i)
     {
         TillageObjectController pest = new TillageObjectController(sim);
         Tillage.Add(pest);
     }
 }