Skip to content

GameboardTileInspection

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:254

Actor-aware tile inspection result for UI, AI, quests, and tests.

actors: readonly GameboardActorSnapshot[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:274

Actor placements on the tile.


blockingPlacements: readonly object[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:282

Placements that block movement onto the tile.


canEnter: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:286

Whether the tile exists and can be entered.


collision: GameboardActorCollisionReport

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:284

Full collision report for the tile.


optional coordinates?: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:262

Axial coordinates, when the tile exists.


optional elevation?: number

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:266

Tile elevation, when the tile exists.


exists: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:256

Whether the tile exists in the board.


hasActors: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:290

Whether any actors occupy the tile.


hasHostiles: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:292

Whether any hostile actors occupy the tile.


hasInteractive: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:294

Whether any interactive actors occupy the tile.


hasProps: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:296

Whether any prop actors occupy the tile.


hostileActors: readonly GameboardActorSnapshot[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:276

Hostile actors on the tile.


interactiveActors: readonly GameboardActorSnapshot[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:278

Interactive actors on the tile.


isEmpty: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:288

Whether no placements occupy the tile.


occupancy: readonly PlacementOccupancySnapshot[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:272

Occupancy relation records for the tile.


placements: readonly object[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:270

Placements occupying the tile.


propActors: readonly GameboardActorSnapshot[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:280

Prop actors on the tile.


optional reason?: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:298

Missing or blocked reason.


tags: readonly string[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:268

Tile tags, or an empty list for missing tiles.


optional terrain?: GameboardTerrain

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:264

Tile terrain, when the tile exists.


optional tile?: object

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:260

Tile trait value, when the tile exists.

baseAssetId: string = ''

Asset id for the visible tile top.

coastEdges: number = 0

Six-edge bitmask for coast connectivity.

coastWaterless: boolean = false

Whether this coast tile uses the waterless guide variant.

coordinates: HexCoordinates

Axial tile coordinates.

elevation: number = 0

Stacked elevation level for the tile top.

key: string = ''

Stable axial key in q,r form.

riverCrossing: "A" | "B" | undefined

River crossing variant, when present.

riverCurvy: boolean = false

Whether this river tile uses the curvy guide variant.

riverEdges: number = 0

Six-edge bitmask for river connectivity.

riverWaterless: boolean = false

Whether this river tile uses the waterless guide variant.

roadEdges: number = 0

Six-edge bitmask for road connectivity.

roadSlope: "high" | "low" | undefined

Road slope variant when a road changes elevation.

supportAssetId: string = ''

Optional asset id for the vertical support below elevated tiles.

tags: string[]

Free-form taxonomy and generation tags.

terrain: GameboardTerrain

Primary terrain biome represented by this tile.

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

KayKit texture set applied to this tile.


tileKey: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:258

Inspected tile key.