five-on-it / packages/catalogue/src/region/terrain / terrainSurface
Function: terrainSurface()
terrainSurface(
heights,biome,seed,roads?,paint?,skip?,look?):TerrainSurface
Defined in: packages/catalogue/src/region/terrain.ts:116
Builds a region's ground (see the module documentation).
Parameters
heights
biome
"meadow" | "forest" | "alpine" | "farmland" | "steppe" | "desert" | "autumn" | "coast"
seed
number
roads?
readonly GradedRoad[] = []
paint?
TerrainPaint = ...
skip?
(i, j) => boolean
look?
GroundLook = {}