public override void Add(Vegetation veg) { if (!children.Contains(veg)) { veg.ParentName = this.Name; children.Add(veg); } }
public override bool Remove(Vegetation veg) { return(children.Remove(veg)); }
public override bool Remove(Vegetation veg) { throw new NotImplementedException(); }
public override void Add(Vegetation veg) { throw new NotImplementedException(); }
public abstract bool Remove(Vegetation veg);
public abstract void Add(Vegetation veg);