Skip to content

useGameboardSystemActions

useGameboardSystemActions(): object

Defined in: src/react/react.ts:456

Bind system tick actions for running movement, patrol, and quest systems.

dispatchActorTargetCommand: (options, commandOptions) => DispatchGameboardActorTargetCommandResult

Select an actor target, then execute its planned command.

GameboardActorTargetCommandOptions

DispatchGameboardInteractionCommandOptions = {}

DispatchGameboardActorTargetCommandResult

dispatchCommand: (commandOrTarget, options) => DispatchGameboardInteractionCommandResult

Execute one command and emit dispatch event records.

GameboardInteractionCommandInput

DispatchGameboardInteractionCommandOptions = {}

DispatchGameboardInteractionCommandResult

interact: (commandOrTarget, options) => RunGameboardInteractionResult

Dispatch a command and optionally tick systems.

GameboardInteractionCommandInput

RunGameboardInteractionOptions = {}

RunGameboardInteractionResult

interactActorTarget: (options, interactionOptions) => RunGameboardActorTargetInteractionResult

Target an actor, dispatch the command, and optionally tick systems.

GameboardActorTargetCommandOptions

RunGameboardInteractionOptions = {}

RunGameboardActorTargetInteractionResult

run: (options) => RunGameboardSystemsResult

Run enabled patrol, movement, and quest systems for one tick.

RunGameboardSystemsOptions = {}

RunGameboardSystemsResult