Skip to content

GameboardTileSpec

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:125

Serializable tile state in a generated gameboard plan.

baseAssetId: string

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:137

Asset id for the visible tile top.


coastEdges: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:145

Six-edge bitmask for coast/water connectivity.


coastWaterless: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:155

Whether this coast tile uses a waterless variant.


coordinates: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:129

Axial tile coordinates.


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.


optional riverCrossing?: "A" | "B"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:153

River crossing variant, when any.


riverCurvy: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:151

Whether this river tile uses a curvy variant.


riverEdges: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:143

Six-edge bitmask for river connectivity.


riverWaterless: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:149

Whether this river tile uses a waterless variant.


roadEdges: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:141

Six-edge bitmask for road connectivity.


optional roadSlope?: "high" | "low"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:147

Road slope variant when the tile uses sloped roads.


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: GameboardTerrain

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:131

Primary terrain category.


textureSet: "default" | "fall" | "summer" | "winter"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:133

KayKit texture set applied to this tile.