Skip to content

GameboardInteractionCommandPreview

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

Non-mutating execution preview for one interaction command.

canExecute: boolean

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

Whether the command can execute under current rules.


command: GameboardInteractionCommand

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

Planned command being previewed.


optional movementBudget?: number

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

Movement budget used for range checks.


optional movementPath?: GameboardNavigationPathResult

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

Movement path when the command requests movement.


optional reason?: string

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

Reason execution is unavailable.