예제 #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);
 }