Home
Pages

src/commands

declarative-hex-worlds

declarative-hex-worlds


declarative-hex-worlds / src/commands

src/commands

src/commands/@internal action factories consumed by src/actions.ts (post-Epic-R2r composition layer) and by runtime.ts / simulation.ts.

Commands describe what mutations the simulation can apply to the world (move actor, attack actor, interact, route patrol). Each command kind has a request/handler signature; the createGameboardCommandActions factory binds them to a Koota world and exposes them as hook-friendly handles.

Internal because consumers should reach commands through the React / Three bindings or the simulation step DSL — never call the factory directly.

References

createGameboardInteractionHandlerPreset

Re-exports createGameboardInteractionHandlerPreset


CreateGameboardInteractionHandlerPresetOptions

Re-exports CreateGameboardInteractionHandlerPresetOptions


createMarkTargetActorInteractedHandler

Re-exports createMarkTargetActorInteractedHandler


createRemoveTargetActorHandler

Re-exports createRemoveTargetActorHandler


createRemoveTargetPlacementHandler

Re-exports createRemoveTargetPlacementHandler


executeGameboardInteractionCommand

Re-exports executeGameboardInteractionCommand


GAMEBOARD_INTERACTION_HANDLER_PRESETS

Re-exports GAMEBOARD_INTERACTION_HANDLER_PRESETS


GameboardActorTargetCommandOptions

Re-exports GameboardActorTargetCommandOptions


GameboardActorTargetCommandPlan

Re-exports GameboardActorTargetCommandPlan


gameboardCommandActions

Re-exports gameboardCommandActions


GameboardInteractionCommandExecution

Re-exports GameboardInteractionCommandExecution


GameboardInteractionCommandExecutionOptions

Re-exports GameboardInteractionCommandExecutionOptions


GameboardInteractionCommandInput

Re-exports GameboardInteractionCommandInput


GameboardInteractionCommandPreview

Re-exports GameboardInteractionCommandPreview


GameboardInteractionCommandPreviewOptions

Re-exports GameboardInteractionCommandPreviewOptions


GameboardInteractionExecutionStatus

Re-exports GameboardInteractionExecutionStatus


GameboardInteractionHandler

Re-exports GameboardInteractionHandler


GameboardInteractionHandlerContext

Re-exports GameboardInteractionHandlerContext


GameboardInteractionHandlerEffect

Re-exports GameboardInteractionHandlerEffect


GameboardInteractionHandlerMetadata

Re-exports GameboardInteractionHandlerMetadata


GameboardInteractionHandlerPreset

Re-exports GameboardInteractionHandlerPreset


GameboardInteractionHandlerResult

Re-exports GameboardInteractionHandlerResult


GameboardInteractionHandlerStatus

Re-exports GameboardInteractionHandlerStatus


isGameboardInteractionHandlerPreset

Re-exports isGameboardInteractionHandlerPreset


MarkTargetActorInteractedHandlerOptions

Re-exports MarkTargetActorInteractedHandlerOptions


planGameboardActorTargetCommand

Re-exports planGameboardActorTargetCommand


previewGameboardInteractionCommand

Re-exports previewGameboardInteractionCommand


RemoveTargetActorHandlerOptions

Re-exports RemoveTargetActorHandlerOptions


RemoveTargetPlacementHandlerOptions

Re-exports RemoveTargetPlacementHandlerOptions