RiverGenerator
class RiverGenerator(tileMap: TileMap, randomness: MapGenerationRandomness)
Content copied to clipboard
Types
RiverCoordinate
Link copied to clipboard
class RiverCoordinate(position: Vector2, bottomRightOrLeft: RiverGenerator.RiverCoordinate.BottomRightOrLeft)
Content copied to clipboard
Describes a Vertex on our hexagonal grid via a neighboring hex and clock direction, normalized such that always the north-most hex and one of the two clock directions 5 / 7 o'clock are used.
Functions
getClosestWaterTile
Link copied to clipboard
isFarEnoughFromWater
Link copied to clipboard
spawnRiver
Link copied to clipboard
spawnRivers
Link copied to clipboard
fun spawnRivers()
Content copied to clipboard
Properties
Sources
jvm source
Link copied to clipboard