GameboardActorSelectionRecord
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:454
Serializable actor selection row for logs, tests, UIs, and quests.
Properties
Section titled “Properties”actorId
Section titled “actorId”actorId:
string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:456
Actor id.
assetId
Section titled “assetId”assetId:
string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:484
Placement asset id.
blocksMovement
Section titled “blocksMovement”blocksMovement:
boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:470
Whether the actor blocks movement.
coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:480
Occupied tile coordinates.
distance?
Section titled “distance?”
optionaldistance?:number
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:482
Distance from the selection center, when available.
faction?
Section titled “faction?”
optionalfaction?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:462
Actor faction id.
hostile
Section titled “hostile”hostile:
boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:466
Whether the actor is generally hostile.
hostileToSource?
Section titled “hostileToSource?”
optionalhostileToSource?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:468
Whether this actor is hostile to the selection source.
interactive
Section titled “interactive”interactive:
boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:472
Whether the actor is an interaction target.
kind:
GameboardActorKind
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:460
Actor kind.
layer:
GameboardPlacementLayer
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:488
Underlying placement layer.
metadata
Section titled “metadata”metadata:
Readonly<Record<string,GameboardActorMetadataValue>>
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:476
Actor metadata.
placementId
Section titled “placementId”placementId:
string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:458
Placement id associated with the actor.
placementKind
Section titled “placementKind”placementKind:
GameboardPlacementKind
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:486
Underlying placement kind.
requiresExtra
Section titled “requiresExtra”requiresExtra:
boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:490
Whether the placement requires local-only EXTRA assets.
tags: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:474
Actor tags.
optionalteam?:string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:464
Actor team id.
tileKey
Section titled “tileKey”tileKey:
string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:478
Occupied tile key.