Skip to content

GameboardInteractionCommandPreviewOptions

Defined in: src/commands/commands.ts:221

Options for previewing an interaction command without mutating the world.

optional blockingPlacementKinds?: readonly GameboardPlacementKind[]

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

Placement kinds that should block actor movement.

GameboardInteractionCommandOptions.blockingPlacementKinds


optional blockingPlacementLayers?: readonly GameboardPlacementLayer[]

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

Placement layers that should block actor movement.

GameboardInteractionCommandOptions.blockingPlacementLayers


optional ignorePlacementIds?: readonly string[]

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

Placement ids ignored during collision checks.

GameboardInteractionCommandOptions.ignorePlacementIds


optional movement?: GameboardMovementPathRequestOptions

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

Movement path options used when the command is a move request.


optional requireSourceActorForAttack?: boolean

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

Require a source actor before attack commands can execute.

GameboardInteractionCommandOptions.requireSourceActorForAttack


optional requireSourceActorForInteraction?: boolean

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

Require a source actor before interaction commands can execute.

GameboardInteractionCommandOptions.requireSourceActorForInteraction


optional requireSourceActorForMove?: boolean

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

Require a source actor before move commands can execute.

GameboardInteractionCommandOptions.requireSourceActorForMove


optional sourceActor?: string | Entity

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

Source actor used for hostility and collision interpretation.

GameboardInteractionCommandOptions.sourceActor


optional treatHostileAsBlocking?: boolean

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

Treat hostile actors as movement blockers.

GameboardInteractionCommandOptions.treatHostileAsBlocking


optional treatInteractiveAsBlocking?: boolean

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

Treat interactive actors as movement blockers.

GameboardInteractionCommandOptions.treatInteractiveAsBlocking


optional treatPropsAsBlocking?: boolean

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

Treat prop actors as movement blockers.

GameboardInteractionCommandOptions.treatPropsAsBlocking