Example #1
0
 // Add new Plant to plant list
 public void AddPlant(Plant plant)
 {
     this.plants.Add(plant);
     this.griding.Add(plant);
 }
Example #2
0
 public virtual void Damaging(Plant plant)
 {
     Plants_Bullets.Plant.Impacts.Damaging impDamage = new Plants_Bullets.Plant.Impacts.Damaging(this.Game, this.Damage);
     plant.AddImpact(impDamage);
 }