public static IPlant CreatePlant() { var internode = new GenericInternode(CreateStemCells(), 0); var stem = new GenericStem(internode, 0); IShootSystem shoot = new GenericShootSystem(stem); IRootSystem root = new GenericRootSystem(new GenericRoot(new List <IPlantCell>(0), new List <Root>(0), 0)); return(new GenericPlant(shoot, root)); }
public GenericShootSystem(GenericStem stem) { genericStem = stem; }