public class NoiseSettings
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
NoiseSettings() |
NoiseSettings(long seed,
int range,
int roughness,
float scale) |
Modifier and Type | Method and Description |
---|---|
NoiseSettings |
clone() |
boolean |
equals(java.lang.Object o) |
int |
getRange()
The range of the noise generator.
|
int |
getRoughness()
A measure of the roughness of the noise.
|
float |
getScale()
The scale of the noise.
|
long |
getSeed()
The seed to use to initialise the noise generator.
|
int |
hashCode() |
void |
setRange(int range) |
void |
setRoughness(int roughness) |
void |
setScale(float scale) |
void |
setSeed(long seed) |
public NoiseSettings()
public NoiseSettings(long seed, int range, int roughness, float scale)
public long getSeed()
public void setSeed(long seed)
public int getRange()
range
(exclusive).public void setRange(int range)
public float getScale()
public void setScale(float scale)
public int getRoughness()
public void setRoughness(int roughness)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NoiseSettings clone()
clone
in class java.lang.Object