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, sector, seed
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mindustry.maps.generators.PlanetGenerator
allowAcceleratorLanding, allowLanding, beforeSaveWrite, generate, generateSector, getLockedIcon, getLockedText, getSectorSize, noise, onSectorCaptured, onSectorLost
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.graphics.g3d.HexMesher
getEmissiveColor, isEmissive, skip
Methods inherited from interface mindustry.maps.generators.WorldGenerator
postGenerate
-
Constructor Details
-
TantrosPlanetGenerator
public TantrosPlanetGenerator()
-
-
Method Details
-
getHeight
public float getHeight(arc.math.geom.Vec3 position) -
getColor
public void getColor(arc.math.geom.Vec3 position, arc.graphics.Color out) -
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
-