GameboardActorSelection
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:418
Aggregated actor selection result for gameplay systems and UIs.
Properties
Section titled “Properties”actorIds
Section titled “actorIds”actorIds: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:426
Matching actor ids.
actors
Section titled “actors”actors: readonly
GameboardActorSnapshot[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:420
Matching actor snapshots.
byTileKey
Section titled “byTileKey”byTileKey:
Readonly<Record<string, readonlyGameboardActorSnapshot[]>>
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:432
Matching actors grouped by tile key.
center?
Section titled “center?”
optionalcenter?:HexCoordinates
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:444
Resolved center coordinates used for radius and distance.
centerKey?
Section titled “centerKey?”
optionalcenterKey?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:446
Resolved center tile key.
count:
number
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:424
Number of matching actors.
hostileActors
Section titled “hostileActors”hostileActors: readonly
GameboardActorSnapshot[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:436
Matching actors hostile to the source or generally hostile.
interactiveActors
Section titled “interactiveActors”interactiveActors: readonly
GameboardActorSnapshot[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:438
Matching interactive actors.
placementIds
Section titled “placementIds”placementIds: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:428
Matching placement ids.
propActors
Section titled “propActors”propActors: readonly
GameboardActorSnapshot[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:440
Matching prop actors.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:448
Normalized radius used for filtering.
records
Section titled “records”records: readonly
GameboardActorSelectionRecord[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:422
Serializable records for matching actors.
recordsByTileKey
Section titled “recordsByTileKey”recordsByTileKey:
Readonly<Record<string, readonlyGameboardActorSelectionRecord[]>>
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:434
Matching records grouped by tile key.
source?
Section titled “source?”
optionalsource?:GameboardActorSnapshot
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:442
Source actor used for the selection.
tileKeys
Section titled “tileKeys”tileKeys: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:430
Unique tile keys occupied by matching actors.