Skip to content

GameboardInteractionCommandExecutionOptions

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

Options for executing a command preview and optionally invoking game handlers.

optional blockingPlacementKinds?: readonly GameboardPlacementKind[]

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

Placement kinds that should block actor movement.

GameboardInteractionCommandPreviewOptions.blockingPlacementKinds


optional blockingPlacementLayers?: readonly GameboardPlacementLayer[]

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

Placement layers that should block actor movement.

GameboardInteractionCommandPreviewOptions.blockingPlacementLayers


optional handlers?: GameboardInteractionHandler | readonly GameboardInteractionHandler[]

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

Handler or handler chain for non-movement interact/attack/inspect commands.


optional ignorePlacementIds?: readonly string[]

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

Placement ids ignored during collision checks.

GameboardInteractionCommandPreviewOptions.ignorePlacementIds


optional movement?: GameboardMovementPathRequestOptions

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

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

GameboardInteractionCommandPreviewOptions.movement


optional requireSourceActorForAttack?: boolean

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

Require a source actor before attack commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForAttack


optional requireSourceActorForInteraction?: boolean

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

Require a source actor before interaction commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForInteraction


optional requireSourceActorForMove?: boolean

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

Require a source actor before move commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForMove


optional sourceActor?: string | Entity

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

Source actor used for hostility and collision interpretation.

GameboardInteractionCommandPreviewOptions.sourceActor


optional treatHostileAsBlocking?: boolean

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

Treat hostile actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatHostileAsBlocking


optional treatInteractiveAsBlocking?: boolean

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

Treat interactive actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatInteractiveAsBlocking


optional treatPropsAsBlocking?: boolean

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

Treat prop actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatPropsAsBlocking