Пример #1
0
 public void removePlant(Plant p)
 {
     plants.Remove(p);
 }
Пример #2
0
 /// <summary>
 /// This functions creates new plant in the environment.
 /// </summary>
 public void createPlant(Plant p)
 {
     plants.Add(p);
 }