Skip to content

GameboardInteractionCommand

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

Planned high-level interaction command.

optional actorId?: string

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

Target actor id, when available.


canExecute: boolean

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

Whether this command can execute without additional target resolution.


intent: GameboardInteractionIntent

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

High-level intent that produced the command.


kind: GameboardInteractionCommandKind

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

Concrete command kind.


optional placementId?: string

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

Target placement id, when available.


optional reason?: string

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

Failure reason when canExecute is false.


optional source?: GameboardActorSnapshot

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

Optional source actor.


target: GameboardInteractionTargetReport

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

Target report used to plan the command.


optional tileKey?: string

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

Target tile key, when available.