GameboardActorSelectionOptions
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:378
Filter options for selecting actors from the world.
Properties
Section titled “Properties”actorIds?
Section titled “actorIds?”
optionalactorIds?:string| readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:380
Actor id or ids to include.
blocksMovement?
Section titled “blocksMovement?”
optionalblocksMovement?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:408
Filter by actor movement-blocking flag.
center?
Section titled “center?”
optionalcenter?:GameboardNeighborhoodCenter
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:396
Optional center used by radius filtering and distance sorting.
excludeTags?
Section titled “excludeTags?”
optionalexcludeTags?: readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:392
Actor tags that must all be absent.
factions?
Section titled “factions?”
optionalfactions?:string| readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:388
Faction id or ids to include.
hostile?
Section titled “hostile?”
optionalhostile?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:404
Filter by actor hostile flag.
hostileToSource?
Section titled “hostileToSource?”
optionalhostileToSource?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:410
Filter by hostility relative to sourceActor.
includeSource?
Section titled “includeSource?”
optionalincludeSource?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:402
Include the source actor in results. Defaults to true.
interactive?
Section titled “interactive?”
optionalinteractive?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:406
Filter by actor interactive flag.
kinds?
Section titled “kinds?”
optionalkinds?:GameboardActorKind| readonlyGameboardActorKind[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:384
Actor kind or kinds to include.
placementIds?
Section titled “placementIds?”
optionalplacementIds?:string| readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:382
Placement id or ids to include.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:398
Maximum hex distance from center or sourceActor.
optionalsort?:GameboardActorSelectionSort
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:412
Sort mode for selected actors.
sourceActor?
Section titled “sourceActor?”
optionalsourceActor?:string|Entity
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:400
Source actor used for hostility and default center resolution.
optionaltags?: readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:390
Actor tags that must all be present.
teams?
Section titled “teams?”
optionalteams?:string| readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:386
Team id or ids to include.
tileKeys?
Section titled “tileKeys?”
optionaltileKeys?:string| readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:394
Tile key or keys to include.