Skip to content

GameboardInteractionCommand

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:580

Planned high-level interaction command.

optional actorId?: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:594

Target actor id, when available.


canExecute: boolean

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:596

Whether this command can execute without additional target resolution.


intent: GameboardInteractionIntent

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:584

High-level intent that produced the command.


kind: GameboardInteractionCommandKind

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:582

Concrete command kind.


optional placementId?: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:592

Target placement id, when available.


optional reason?: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:598

Failure reason when canExecute is false.


optional source?: GameboardActorSnapshot

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:588

Optional source actor.


target: GameboardInteractionTargetReport

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:586

Target report used to plan the command.


optional tileKey?: string

Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:590

Target tile key, when available.