Class ErekirPlanetGenerator

All Implemented Interfaces:
HexMesher, WorldGenerator

public class ErekirPlanetGenerator extends PlanetGenerator
  • Field Details

    • heightScl

      public float heightScl
    • octaves

      public float octaves
    • persistence

      public float persistence
    • heightPow

      public float heightPow
    • heightMult

      public float heightMult
    • arkThresh

      public static float arkThresh
    • arkScl

      public static float arkScl
    • arkSeed

      public static int arkSeed
    • arkOct

      public static int arkOct
    • liqThresh

      public static float liqThresh
    • liqScl

      public static float liqScl
    • redThresh

      public static float redThresh
    • noArkThresh

      public static float noArkThresh
    • crystalSeed

      public static int crystalSeed
    • crystalOct

      public static int crystalOct
    • crystalScl

      public static float crystalScl
    • crystalMag

      public static float crystalMag
    • airThresh

      public static float airThresh
    • airScl

      public static float airScl
  • Constructor Details

    • ErekirPlanetGenerator

      public ErekirPlanetGenerator()
  • Method Details

    • generateSector

      public void generateSector(Sector sector)
      Description copied from class: PlanetGenerator
      Should generate sector bases for a planet.
      Overrides:
      generateSector in class PlanetGenerator
    • getHeight

      public float getHeight(arc.math.geom.Vec3 position)
    • getColor

      public arc.graphics.Color getColor(arc.math.geom.Vec3 position)
    • getSizeScl

      public float getSizeScl()
      Overrides:
      getSizeScl in class PlanetGenerator
      Returns:
      the scaling factor for sector rects.
    • genTile

      public void genTile(arc.math.geom.Vec3 position, TileGen tile)
      Overrides:
      genTile in class PlanetGenerator
    • generate

      protected void generate()
      Overrides:
      generate in class BasicGenerator