GameboardTileSpec
Defined in: src/gameboard/gameboard.ts:152
Serializable tile state in a generated gameboard plan.
Properties
Section titled “Properties”baseAssetId
Section titled “baseAssetId”baseAssetId:
string
Defined in: src/gameboard/gameboard.ts:164
Asset id for the visible tile top.
coastEdges
Section titled “coastEdges”coastEdges:
number
Defined in: src/gameboard/gameboard.ts:172
Six-edge bitmask for coast/water connectivity.
coastWaterless
Section titled “coastWaterless”coastWaterless:
boolean
Defined in: src/gameboard/gameboard.ts:182
Whether this coast tile uses a waterless variant.
coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Defined in: src/gameboard/gameboard.ts:156
Axial tile coordinates.
elevation
Section titled “elevation”elevation:
number
Defined in: src/gameboard/gameboard.ts:162
Stacked elevation level.
key:
string
Defined in: src/gameboard/gameboard.ts:154
Stable axial tile key in q,r form.
riverCrossing?
Section titled “riverCrossing?”
optionalriverCrossing?:"A"|"B"
Defined in: src/gameboard/gameboard.ts:180
River crossing variant, when any.
riverCurvy
Section titled “riverCurvy”riverCurvy:
boolean
Defined in: src/gameboard/gameboard.ts:178
Whether this river tile uses a curvy variant.
riverEdges
Section titled “riverEdges”riverEdges:
number
Defined in: src/gameboard/gameboard.ts:170
Six-edge bitmask for river connectivity.
riverWaterless
Section titled “riverWaterless”riverWaterless:
boolean
Defined in: src/gameboard/gameboard.ts:176
Whether this river tile uses a waterless variant.
roadEdges
Section titled “roadEdges”roadEdges:
number
Defined in: src/gameboard/gameboard.ts:168
Six-edge bitmask for road connectivity.
roadSlope?
Section titled “roadSlope?”
optionalroadSlope?:"high"|"low"
Defined in: src/gameboard/gameboard.ts:174
Road slope variant when the tile uses sloped roads.
supportAssetId
Section titled “supportAssetId”supportAssetId:
string
Defined in: src/gameboard/gameboard.ts:166
Asset id for the support/bottom under elevated tiles.
tags: readonly
string[]
Defined in: src/gameboard/gameboard.ts:184
Generated taxonomy tags.
terrain
Section titled “terrain”terrain:
GameboardTerrain
Defined in: src/gameboard/gameboard.ts:158
Primary terrain category.
textureSet
Section titled “textureSet”textureSet:
"default"|"fall"|"summer"|"winter"
Defined in: src/gameboard/gameboard.ts:160
KayKit texture set applied to this tile.