public PlantSet Copy() { var plantSet = new PlantSet(); foreach (var p in this) { plantSet.Add(p.Copy()); } return(plantSet); }
public static PlantSet Generate() { Init(); var plantSet = new PlantSet(); foreach (var gene in PlantLib) { plantSet.Add(gene.NextRandom()); } return(plantSet); }