preparing for rewrite of tile and item system

This commit is contained in:
Ondřej Hruška
2014-04-19 13:13:46 +02:00
parent b30f39a762
commit 7927d9a67b
16 changed files with 256 additions and 51 deletions
@@ -19,6 +19,19 @@ public class NoiseGen {
private final double density;
/**
* make a new noise generator with a random seed
*
* @param density noise density (0..1). Lower density means larger "spots".
* @param low low bound ("valley")
* @param middle middle bound ("surface")
* @param high high bound ("hill")
*/
public NoiseGen(double density, double low, double middle, double high) {
this(density, low, middle, high, Double.doubleToLongBits(Math.random()));
}
/**
* make a new noise generator
*