Class SimpleAlienWorld.CraterSettings
java.lang.Object
io.github.addoncommunity.galactifun.api.worlds.SimpleAlienWorld.CraterSettings
- Record Components:
octaves- octaves to use for crater noisescale- scale of the crater noisefrequency- frequency of the crater noiseamplitude- amplitude of the crater noisenoiseDepth- depth of the crater noise. The exact workings of this is hard to understand without looking at the source code, but in general, the larger the number, the bigger and deeper the crater.
- Enclosing class:
SimpleAlienWorld
Settings for crater generation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCraterSettings(int octaves, double scale, double frequency, double amplitude, double noiseDepth) -
Method Summary
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
CraterSettings
public CraterSettings(int octaves, double scale, double frequency, double amplitude, double noiseDepth)
-
-
Method Details
-
octaves
public int octaves() -
scale
public double scale() -
frequency
public double frequency() -
amplitude
public double amplitude() -
noiseDepth
public double noiseDepth()
-