GameboardInteractionCommand
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:580
Planned high-level interaction command.
Properties
Section titled “Properties”actorId?
Section titled “actorId?”
optionalactorId?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:594
Target actor id, when available.
canExecute
Section titled “canExecute”canExecute:
boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:596
Whether this command can execute without additional target resolution.
intent
Section titled “intent”intent:
GameboardInteractionIntent
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:584
High-level intent that produced the command.
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:582
Concrete command kind.
placementId?
Section titled “placementId?”
optionalplacementId?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:592
Target placement id, when available.
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:598
Failure reason when canExecute is false.
source?
Section titled “source?”
optionalsource?:GameboardActorSnapshot
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:588
Optional source actor.
target
Section titled “target”target:
GameboardInteractionTargetReport
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:586
Target report used to plan the command.
tileKey?
Section titled “tileKey?”
optionaltileKey?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:590
Target tile key, when available.