Skip to content

GameboardActorTargetingOptions

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

Options for selecting and pathing to potential actor targets.

optional actorIds?: string | readonly string[]

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

Actor id or ids to include.

GameboardActorSelectionOptions.actorIds


optional approach?: GameboardActorTargetApproach

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

Target approach strategy. Defaults to nearest.


optional blocksMovement?: boolean

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

Filter by actor movement-blocking flag.

GameboardActorSelectionOptions.blocksMovement


optional center?: GameboardNeighborhoodCenter

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

Optional center used by radius filtering and distance sorting.

GameboardActorSelectionOptions.center


optional excludeTags?: readonly string[]

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

Actor tags that must all be absent.

GameboardActorSelectionOptions.excludeTags


optional factions?: string | readonly string[]

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

Faction id or ids to include.

GameboardActorSelectionOptions.factions


optional hostile?: boolean

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

Filter by actor hostile flag.

GameboardActorSelectionOptions.hostile


optional hostileToSource?: boolean

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

Filter by hostility relative to sourceActor.

GameboardActorSelectionOptions.hostileToSource


optional includeSource?: boolean

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

Include the source actor in results. Defaults to true.

GameboardActorSelectionOptions.includeSource


optional includeUnreachable?: boolean

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

Include unreachable targets in results. Defaults to true.


optional interactive?: boolean

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

Filter by actor interactive flag.

GameboardActorSelectionOptions.interactive


optional kinds?: GameboardActorKind | readonly GameboardActorKind[]

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

Actor kind or kinds to include.

GameboardActorSelectionOptions.kinds


optional maxPathCost?: number

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

Maximum accepted path cost.


optional navigation?: GameboardActorNavigationOptions

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

Actor-aware navigation options.


optional placementIds?: string | readonly string[]

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

Placement id or ids to include.

GameboardActorSelectionOptions.placementIds


optional radius?: number

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

Maximum hex distance from center or sourceActor.

GameboardActorSelectionOptions.radius


optional sort?: GameboardActorTargetSort

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

Target result sort mode.


sourceActor: string | Entity

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

Source actor that will path toward selected targets.


optional tags?: readonly string[]

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

Actor tags that must all be present.

GameboardActorSelectionOptions.tags


optional teams?: string | readonly string[]

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

Team id or ids to include.

GameboardActorSelectionOptions.teams


optional tileKeys?: string | readonly string[]

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

Tile key or keys to include.

GameboardActorSelectionOptions.tileKeys