GameboardActorSelection
Defined in: src/actors/actors.ts:425
Aggregated actor selection result for gameplay systems and UIs.
Properties
Section titled “Properties”actorIds
Section titled “actorIds”actorIds: readonly
string[]
Defined in: src/actors/actors.ts:433
Matching actor ids.
actors
Section titled “actors”actors: readonly
GameboardActorSnapshot[]
Defined in: src/actors/actors.ts:427
Matching actor snapshots.
byTileKey
Section titled “byTileKey”byTileKey:
Readonly<Record<string, readonlyGameboardActorSnapshot[]>>
Defined in: src/actors/actors.ts:439
Matching actors grouped by tile key.
center?
Section titled “center?”
optionalcenter?:HexCoordinates
Defined in: src/actors/actors.ts:451
Resolved center coordinates used for radius and distance.
centerKey?
Section titled “centerKey?”
optionalcenterKey?: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
Section titled “hostileActors”hostileActors: readonly
GameboardActorSnapshot[]
Defined in: src/actors/actors.ts:443
Matching actors hostile to the source or generally hostile.
interactiveActors
Section titled “interactiveActors”interactiveActors: readonly
GameboardActorSnapshot[]
Defined in: src/actors/actors.ts:445
Matching interactive actors.
placementIds
Section titled “placementIds”placementIds: readonly
string[]
Defined in: src/actors/actors.ts:435
Matching placement ids.
propActors
Section titled “propActors”propActors: readonly
GameboardActorSnapshot[]
Defined in: src/actors/actors.ts:447
Matching prop actors.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: src/actors/actors.ts:455
Normalized radius used for filtering.
records
Section titled “records”records: readonly
GameboardActorSelectionRecord[]
Defined in: src/actors/actors.ts:429
Serializable records for matching actors.
recordsByTileKey
Section titled “recordsByTileKey”recordsByTileKey:
Readonly<Record<string, readonlyGameboardActorSelectionRecord[]>>
Defined in: src/actors/actors.ts:441
Matching records grouped by tile key.
source?
Section titled “source?”
optionalsource?:GameboardActorSnapshot
Defined in: src/actors/actors.ts:449
Source actor used for the selection.
tileKeys
Section titled “tileKeys”tileKeys: readonly
string[]
Defined in: src/actors/actors.ts:437
Unique tile keys occupied by matching actors.