Exemplo n.º 1
0
 public RiverNode(Garden garden, RiverNode parent, Point3i location, RiverNode child) {
   super(garden, 0, parent, location, 1, GardenCategory.CATEGORY_WATER);
   parent.child = this;
   this.child = child;
   crossSectionalArea = parent.crossSectionalArea;
   //        System.out.println("Connecting tributary to another river @ " + location);
 }
Exemplo n.º 2
0
 public RiverNode(Garden garden, RiverNode parent, Point3i location) {
   super(garden, 0, parent, location, 1, GardenCategory.CATEGORY_WATER);
   parent.child = this;
   crossSectionalArea = parent.crossSectionalArea;
   //        System.out.println("Extending river to " + location);
 }