Skip to content

RunGameboardInteractionOptions

Defined in: src/systems/systems.ts:292

Options for dispatching a command and then optionally running systems.

optional blockingPlacementKinds?: readonly GameboardPlacementKind[]

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

Placement kinds that should block actor movement.

DispatchGameboardInteractionCommandOptions.blockingPlacementKinds


optional blockingPlacementLayers?: readonly GameboardPlacementLayer[]

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

Placement layers that should block actor movement.

DispatchGameboardInteractionCommandOptions.blockingPlacementLayers


optional handlers?: GameboardInteractionHandler | readonly GameboardInteractionHandler[]

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

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

DispatchGameboardInteractionCommandOptions.handlers


optional ignorePlacementIds?: readonly string[]

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

Placement ids ignored during collision checks.

DispatchGameboardInteractionCommandOptions.ignorePlacementIds


optional movement?: GameboardMovementPathRequestOptions

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

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

DispatchGameboardInteractionCommandOptions.movement


optional requireSourceActorForAttack?: boolean

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

Require a source actor before attack commands can execute.

DispatchGameboardInteractionCommandOptions.requireSourceActorForAttack


optional requireSourceActorForInteraction?: boolean

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

Require a source actor before interaction commands can execute.

DispatchGameboardInteractionCommandOptions.requireSourceActorForInteraction


optional requireSourceActorForMove?: boolean

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

Require a source actor before move commands can execute.

DispatchGameboardInteractionCommandOptions.requireSourceActorForMove


optional sourceActor?: string | Entity

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

Source actor used for hostility and collision interpretation.

DispatchGameboardInteractionCommandOptions.sourceActor


optional systems?: false | RunGameboardSystemsOptions

Defined in: src/systems/systems.ts:294

Systems to run after dispatch, or false to only dispatch the command.


optional treatHostileAsBlocking?: boolean

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

Treat hostile actors as movement blockers.

DispatchGameboardInteractionCommandOptions.treatHostileAsBlocking


optional treatInteractiveAsBlocking?: boolean

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

Treat interactive actors as movement blockers.

DispatchGameboardInteractionCommandOptions.treatInteractiveAsBlocking


optional treatPropsAsBlocking?: boolean

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

Treat prop actors as movement blockers.

DispatchGameboardInteractionCommandOptions.treatPropsAsBlocking