Package mindustry.maps.planet
Class TantrosPlanetGenerator
java.lang.Object
mindustry.maps.generators.BasicGenerator
mindustry.maps.generators.PlanetGenerator
mindustry.maps.planet.TantrosPlanetGenerator
- 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 TypeMethodDescriptionvoid
addWeather
(Sector sector, Rules rules) protected void
generate()
void
generateSector
(Sector sector) Should generate sector bases for a planet.void
float
float
Methods inherited from class mindustry.maps.generators.PlanetGenerator
allowLanding, generate, getSectorSize, noise
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mindustry.maps.generators.WorldGenerator
postGenerate
-
Constructor Details
-
TantrosPlanetGenerator
public TantrosPlanetGenerator()
-
-
Method Details
-
generateSector
Description copied from class:PlanetGenerator
Should generate sector bases for a planet.- Overrides:
generateSector
in classPlanetGenerator
-
getHeight
-
getColor
-
getSizeScl
public float getSizeScl()- Overrides:
getSizeScl
in classPlanetGenerator
- Returns:
- the scaling factor for sector rects.
-
addWeather
- Overrides:
addWeather
in classPlanetGenerator
-
genTile
- Overrides:
genTile
in classPlanetGenerator
-
generate
protected void generate()- Overrides:
generate
in classBasicGenerator
-