Package worldBuilder

Class Drainage


  • public class Drainage
    extends java.lang.Object
    engine to use topology to compute directions of water flow
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean[] oceanic  
      double[] outlet  
    • Constructor Summary

      Constructors 
      Constructor Description
      Drainage​(Map map)
      use topography to compute the directions water will flow, regenerate the downHill map
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recompute()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • oceanic

        public boolean[] oceanic
      • outlet

        public double[] outlet
    • Constructor Detail

      • Drainage

        public Drainage​(Map map)
        use topography to compute the directions water will flow, regenerate the downHill map
    • Method Detail

      • recompute

        public void recompute()