Skip to content

GameboardPlacementOccupancyInspection

Defined in: src/koota/koota.ts:224

Detailed result from an occupancy inspection.

blockers: readonly PlacementOccupancySnapshot[]

Defined in: src/koota/koota.ts:238

Blocking occupancy records found in the footprint.


blocksMovement: boolean

Defined in: src/koota/koota.ts:234

Whether the proposed placement blocks movement.


canOccupy: boolean

Defined in: src/koota/koota.ts:240

Whether the placement can occupy the inspected footprint.


coordinates: HexCoordinates

Defined in: src/koota/koota.ts:228

Axial coordinates for the origin tile.


footprintTileKeys: readonly string[]

Defined in: src/koota/koota.ts:230

Tile keys in the proposed placement footprint.


missingTileKeys: readonly string[]

Defined in: src/koota/koota.ts:232

Footprint tile keys not present in the world.


occupancyGroup: string

Defined in: src/koota/koota.ts:236

Occupancy group assigned to the proposed placement.


optional reason?: string

Defined in: src/koota/koota.ts:242

Machine-readable reason when canOccupy is false.


tileKey: string

Defined in: src/koota/koota.ts:226

Origin tile key that was inspected.