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));
        }
 public FluidsPlant(GenericShootSystem stem, GenericRootSystem root)
 {
     ShootSystem = stem;
     RootSystem  = root;
 }
Beispiel #3
0
 public CornPlant(GenericShootSystem stem, GenericRootSystem root)
 {
     ShootSystem = stem;
     RootSystem  = root;
 }