Package mindustry.maps.planet
Class SerpuloPlanetGenerator
java.lang.Object
mindustry.maps.generators.BasicGenerator
mindustry.maps.generators.PlanetGenerator
mindustry.maps.planet.SerpuloPlanetGenerator
- All Implemented Interfaces:
HexMesher
,WorldGenerator
-
Field Summary
Fields inherited from class mindustry.maps.generators.PlanetGenerator
baseSeed, ints, sector, seed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
generate()
void
generateSector
(Sector sector) Should generate sector bases for a planet.void
float
protected float
noise
(float x, float y, double octaves, double falloff, double scl, double mag) void
postGenerate
(Tiles tiles) Do not modify tiles here.Methods inherited from class mindustry.maps.generators.PlanetGenerator
addWeather, allowLanding, generate, getSectorSize, getSizeScl
Methods inherited from class mindustry.maps.generators.BasicGenerator
blend, brush, cells, cells, cliffs, decoration, distort, each, erase, generate, inverseFloodFill, median, median, median, near, nearAir, nearWall, noise, noise, noise, ore, oreAround, ores, overlay, pass, pathfind, removeWall, scatter, tech, tech, terrain, trimDark, wallOre
-
Field Details
-
alt
public static boolean alt
-
-
Constructor Details
-
SerpuloPlanetGenerator
public SerpuloPlanetGenerator()
-
-
Method Details
-
generateSector
Description copied from class:PlanetGenerator
Should generate sector bases for a planet.- Overrides:
generateSector
in classPlanetGenerator
-
getHeight
-
getColor
-
genTile
- Overrides:
genTile
in classPlanetGenerator
-
noise
protected float noise(float x, float y, double octaves, double falloff, double scl, double mag) - Overrides:
noise
in classPlanetGenerator
-
generate
protected void generate()- Overrides:
generate
in classBasicGenerator
-
postGenerate
Description copied from interface:WorldGenerator
Do not modify tiles here. This is only for specialized configuration.
-