Example #1
0
 public override void Add(Vegetation veg)
 {
     if (!children.Contains(veg))
     {
         veg.ParentName = this.Name;
         children.Add(veg);
     }
 }
Example #2
0
 public override bool Remove(Vegetation veg)
 {
     return(children.Remove(veg));
 }
Example #3
0
 public override bool Remove(Vegetation veg)
 {
     throw new NotImplementedException();
 }
Example #4
0
 public override void Add(Vegetation veg)
 {
     throw new NotImplementedException();
 }
Example #5
0
 public abstract bool Remove(Vegetation veg);
Example #6
0
 public abstract void Add(Vegetation veg);