Skip to content

GameboardActorTargetingReport

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

Targeting report for one source actor.

optional nearestTarget?: GameboardActorTarget

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

First reachable target, or first target when none are reachable.


reachableActorIds: readonly string[]

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

Actor ids represented by reachableTargets.


reachableTargets: readonly GameboardActorTarget[]

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

Reachable targets only.


optional reason?: string

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

Failure reason when targeting could not be evaluated.


selection: GameboardActorSelection

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

Actor selection used as the target candidate set.


optional source?: GameboardActorSnapshot

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

Source actor, when it exists.


targetActorIds: readonly string[]

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

Actor ids represented by targets.


targets: readonly GameboardActorTarget[]

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

All targets after reachability filtering.