Skip to content

GameboardInteractionCommandPreview

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

Non-mutating execution preview for one interaction command.

canExecute: boolean

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

Whether the command can execute under current rules.


command: GameboardInteractionCommand

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

Planned command being previewed.


optional movementBudget?: number

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

Movement budget used for range checks.


optional movementPath?: GameboardNavigationPathResult

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

Movement path when the command requests movement.


optional reason?: string

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

Reason execution is unavailable.