Skip to content

GameboardInteractionCommandExecutionOptions

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

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

optional blockingPlacementKinds?: readonly GameboardPlacementKind[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:126

Placement kinds that should block actor movement.

GameboardInteractionCommandPreviewOptions.blockingPlacementKinds


optional blockingPlacementLayers?: readonly GameboardPlacementLayer[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:128

Placement layers that should block actor movement.

GameboardInteractionCommandPreviewOptions.blockingPlacementLayers


optional handlers?: GameboardInteractionHandler | readonly GameboardInteractionHandler[]

Defined in: packages/declarative-hex-worlds/src/commands/commands.ts:240

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


optional ignorePlacementIds?: readonly string[]

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:130

Placement ids ignored during collision checks.

GameboardInteractionCommandPreviewOptions.ignorePlacementIds


optional movement?: GameboardMovementPathRequestOptions

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

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

GameboardInteractionCommandPreviewOptions.movement


optional requireSourceActorForAttack?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:572

Require a source actor before attack commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForAttack


optional requireSourceActorForInteraction?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:574

Require a source actor before interaction commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForInteraction


optional requireSourceActorForMove?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:570

Require a source actor before move commands can execute.

GameboardInteractionCommandPreviewOptions.requireSourceActorForMove


optional sourceActor?: string | Entity

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:216

Source actor used for hostility and collision interpretation.

GameboardInteractionCommandPreviewOptions.sourceActor


optional treatHostileAsBlocking?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:132

Treat hostile actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatHostileAsBlocking


optional treatInteractiveAsBlocking?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:134

Treat interactive actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatInteractiveAsBlocking


optional treatPropsAsBlocking?: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:136

Treat prop actors as movement blockers.

GameboardInteractionCommandPreviewOptions.treatPropsAsBlocking