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