Beispiel #1
0
        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));
        }
Beispiel #2
0
 public GenericShootSystem(GenericStem stem)
 {
     genericStem = stem;
 }