Skip to content

GameboardActorSelection

Defined in: src/actors/actors.ts:425

Aggregated actor selection result for gameplay systems and UIs.

actorIds: readonly string[]

Defined in: src/actors/actors.ts:433

Matching actor ids.


actors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:427

Matching actor snapshots.


byTileKey: Readonly<Record<string, readonly GameboardActorSnapshot[]>>

Defined in: src/actors/actors.ts:439

Matching actors grouped by tile key.


optional center?: HexCoordinates

Defined in: src/actors/actors.ts:451

Resolved center coordinates used for radius and distance.


optional centerKey?: string

Defined in: src/actors/actors.ts:453

Resolved center tile key.


count: number

Defined in: src/actors/actors.ts:431

Number of matching actors.


hostileActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:443

Matching actors hostile to the source or generally hostile.


interactiveActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:445

Matching interactive actors.


placementIds: readonly string[]

Defined in: src/actors/actors.ts:435

Matching placement ids.


propActors: readonly GameboardActorSnapshot[]

Defined in: src/actors/actors.ts:447

Matching prop actors.


optional radius?: number

Defined in: src/actors/actors.ts:455

Normalized radius used for filtering.


records: readonly GameboardActorSelectionRecord[]

Defined in: src/actors/actors.ts:429

Serializable records for matching actors.


recordsByTileKey: Readonly<Record<string, readonly GameboardActorSelectionRecord[]>>

Defined in: src/actors/actors.ts:441

Matching records grouped by tile key.


optional source?: GameboardActorSnapshot

Defined in: src/actors/actors.ts:449

Source actor used for the selection.


tileKeys: readonly string[]

Defined in: src/actors/actors.ts:437

Unique tile keys occupied by matching actors.