Class SimpleAlienWorld.CraterSettings

java.lang.Object
io.github.addoncommunity.galactifun.api.worlds.SimpleAlienWorld.CraterSettings
Record Components:
octaves - octaves to use for crater noise
scale - scale of the crater noise
frequency - frequency of the crater noise
amplitude - amplitude of the crater noise
noiseDepth - 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

protected static class SimpleAlienWorld.CraterSettings extends Object
Settings for crater generation
  • Field Details

  • 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()