Skip to content

GameboardActorCollisionReport

Defined in: src/actors/actors.ts:148

Collision inspection result for one actor attempting to enter one tile.

actorPlacements: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:156

Actor placements found on the target tile.


blockingPlacements: readonly object[]

Defined in: src/actors/actors.ts:158

Placements that block movement under the active collision profile.


canEnter: boolean

Defined in: src/actors/actors.ts:166

Whether the source actor can enter the target tile.


hostileActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:160

Hostile actors on the target tile.


interactiveActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:162

Interactive actors on the target tile.


placements: readonly object[]

Defined in: src/actors/actors.ts:154

Placements found on the target tile after ignored ids are removed.


propActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:164

Prop actors on the target tile.


optional reason?: string

Defined in: src/actors/actors.ts:168

Blocked reason when canEnter is false.


optional source?: GameboardActorSnapshot

Defined in: src/actors/actors.ts:150

Source actor being tested, when provided.


targetTileKey: string

Defined in: src/actors/actors.ts:152

Target tile key that was inspected.