Package squidpony.squidmath
Class Noise.Layered2D
java.lang.Object
squidpony.squidmath.Noise.Layered2D
- All Implemented Interfaces:
Noise.Noise2D
- Enclosing class:
- Noise
public static class Noise.Layered2D extends Object implements Noise.Noise2D
-
Field Summary
Fields Modifier and Type Field Description protected Noise.Noise2D
basis
double
frequency
double
lacunarity
protected int
octaves
-
Constructor Summary
Constructors Constructor Description Layered2D()
Layered2D(Noise.Noise2D basis)
Layered2D(Noise.Noise2D basis, int octaves)
Layered2D(Noise.Noise2D basis, int octaves, double frequency)
Layered2D(Noise.Noise2D basis, int octaves, double frequency, double lacunarity)
-
Method Summary
Modifier and Type Method Description double
getNoise(double x, double y)
double
getNoiseWithSeed(double x, double y, long seed)
-
Field Details
-
Constructor Details
-
Method Details
-
getNoise
- Specified by:
getNoise
in interfaceNoise.Noise2D
-
getNoiseWithSeed
- Specified by:
getNoiseWithSeed
in interfaceNoise.Noise2D
-