Skip to content

GameboardActorSelectionOptions

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

Filter options for selecting actors from the world.

optional actorIds?: string | readonly string[]

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

Actor id or ids to include.


optional blocksMovement?: boolean

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

Filter by actor movement-blocking flag.


optional center?: GameboardNeighborhoodCenter

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

Optional center used by radius filtering and distance sorting.


optional excludeTags?: readonly string[]

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

Actor tags that must all be absent.


optional factions?: string | readonly string[]

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

Faction id or ids to include.


optional hostile?: boolean

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

Filter by actor hostile flag.


optional hostileToSource?: boolean

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

Filter by hostility relative to sourceActor.


optional includeSource?: boolean

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

Include the source actor in results. Defaults to true.


optional interactive?: boolean

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

Filter by actor interactive flag.


optional kinds?: GameboardActorKind | readonly GameboardActorKind[]

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

Actor kind or kinds to include.


optional placementIds?: string | readonly string[]

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

Placement id or ids to include.


optional radius?: number

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

Maximum hex distance from center or sourceActor.


optional sort?: GameboardActorSelectionSort

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

Sort mode for selected actors.


optional sourceActor?: string | Entity

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

Source actor used for hostility and default center resolution.


optional tags?: readonly string[]

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

Actor tags that must all be present.


optional teams?: string | readonly string[]

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

Team id or ids to include.


optional tileKeys?: string | readonly string[]

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

Tile key or keys to include.