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); }
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); }