Class SerpuloPlanetGenerator

All Implemented Interfaces:
HexMesher, WorldGenerator

public class SerpuloPlanetGenerator extends PlanetGenerator
  • Field Details

    • alt

      public static boolean alt
  • Constructor Details

    • SerpuloPlanetGenerator

      public SerpuloPlanetGenerator()
  • 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(Vec3 position)
    • getColor

      public Color getColor(Vec3 position)
    • genTile

      public void genTile(Vec3 position, TileGen tile)
      Overrides:
      genTile in class PlanetGenerator
    • noise

      protected float noise(float x, float y, double octaves, double falloff, double scl, double mag)
      Overrides:
      noise in class PlanetGenerator
    • generate

      protected void generate()
      Overrides:
      generate in class BasicGenerator
    • postGenerate

      public void postGenerate(Tiles tiles)
      Description copied from interface: WorldGenerator
      Do not modify tiles here. This is only for specialized configuration.