Skip to content

GameboardPlacementOccupancyInspection

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:223

Detailed result from an occupancy inspection.

blockers: readonly PlacementOccupancySnapshot[]

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:237

Blocking occupancy records found in the footprint.


blocksMovement: boolean

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:233

Whether the proposed placement blocks movement.


canOccupy: boolean

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:239

Whether the placement can occupy the inspected footprint.


coordinates: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:227

Axial coordinates for the origin tile.


footprintTileKeys: readonly string[]

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:229

Tile keys in the proposed placement footprint.


missingTileKeys: readonly string[]

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:231

Footprint tile keys not present in the world.


occupancyGroup: string

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:235

Occupancy group assigned to the proposed placement.


optional reason?: string

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:241

Machine-readable reason when canOccupy is false.


tileKey: string

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:225

Origin tile key that was inspected.