GameboardTileSpec
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:125
Serializable tile state in a generated gameboard plan.
Properties
Section titled “Properties”baseAssetId
Section titled “baseAssetId”baseAssetId:
string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:137
Asset id for the visible tile top.
coastEdges
Section titled “coastEdges”coastEdges:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:145
Six-edge bitmask for coast/water connectivity.
coastWaterless
Section titled “coastWaterless”coastWaterless:
boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:155
Whether this coast tile uses a waterless variant.
coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:129
Axial tile coordinates.
elevation
Section titled “elevation”elevation:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:135
Stacked elevation level.
key:
string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:127
Stable axial tile key in q,r form.
riverCrossing?
Section titled “riverCrossing?”
optionalriverCrossing?:"A"|"B"
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:153
River crossing variant, when any.
riverCurvy
Section titled “riverCurvy”riverCurvy:
boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:151
Whether this river tile uses a curvy variant.
riverEdges
Section titled “riverEdges”riverEdges:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:143
Six-edge bitmask for river connectivity.
riverWaterless
Section titled “riverWaterless”riverWaterless:
boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:149
Whether this river tile uses a waterless variant.
roadEdges
Section titled “roadEdges”roadEdges:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:141
Six-edge bitmask for road connectivity.
roadSlope?
Section titled “roadSlope?”
optionalroadSlope?:"high"|"low"
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:147
Road slope variant when the tile uses sloped roads.
supportAssetId
Section titled “supportAssetId”supportAssetId:
string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:139
Asset id for the support/bottom under elevated tiles.
tags: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:157
Generated taxonomy tags.
terrain
Section titled “terrain”terrain:
GameboardTerrain
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:131
Primary terrain category.
textureSet
Section titled “textureSet”textureSet:
"default"|"fall"|"summer"|"winter"
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:133
KayKit texture set applied to this tile.