+ frequency *= 0.75; // kinda simplistic and crude.
+ // even cruder.
+ heightScale *= 0.75; // not sure about this.
+ noise2D = new Noise2D(frequency);
+ }
+ return heightMap
+}
+
+/**
* Meant to place e.g. resource spots within a height range
* @param {array} [heightRange] - The height range in which to place the entities (An associative array with keys "min" and "max" each containing a float)
* @param {array} [avoidPoints=[]] - An array of objects of the form { "x": int, "y": int, "dist": int }, points that will be avoided in the given dist e.g. start locations