public IPlantCell CreateCell(PlantCellType type, Vector3 center, float radius, float height) { var geometry = CreateCellGeometry(center, radius, height); var vacuole = new Vacuole(); var wall = new CellWall(); return(cellFactory.CreateCell(type, geometry, vacuole, wall)); }
private IPlantCell CreateCell(Vector3 center, Vector3 direction) { var geometry = CreateCellGeometry(center, direction); var vacuole = new Vacuole(); var cellWall = new CellWall(); return(cellCreator.CreateCell(PlantCellType.Parenchyma, geometry, vacuole, cellWall)); }