GameboardActorSnapshot
Defined in: src/actors/actors.ts:118
Joined runtime snapshot for an actor entity and its placement.
Properties
Section titled “Properties”actor:
object
Defined in: src/actors/actors.ts:122
Actor trait value.
actorId
Section titled “actorId”actorId:
string=''
Stable gameplay actor id.
blocksMovement
Section titled “blocksMovement”blocksMovement:
boolean=false
Whether this actor blocks movement.
faction
Section titled “faction”faction:
string|undefined
Optional faction identifier.
hostile
Section titled “hostile”hostile:
boolean=false
Whether this actor is generally hostile.
interactive
Section titled “interactive”interactive:
boolean=false
Whether this actor should be treated as an interaction target.
kind:
GameboardActorKind
Actor role used by collision, targeting, commands, and fixtures.
metadata
Section titled “metadata”metadata:
Record<string,GameboardActorMetadataValue>
Serializable actor metadata.
tags:
string[]
Free-form actor tags.
team:
string|undefined
Optional team identifier.
entity
Section titled “entity”entity:
Entity
Defined in: src/actors/actors.ts:120
Live Koota entity.
placement
Section titled “placement”placement:
object
Defined in: src/actors/actors.ts:124
Placement trait value associated with the actor.
assetId
Section titled “assetId”assetId:
string=''
Manifest or external registry asset id.
coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Axial coordinates of the origin tile.
elevation
Section titled “elevation”elevation:
number=0
Base tile elevation where the placement was spawned.
elevationOffset
Section titled “elevationOffset”elevationOffset:
number=0
Extra vertical offset above the tile elevation.
id:
string=''
Stable placement id.
kind:
GameboardPlacementKind
Gameplay category for rules, selectors, and rendering.
layer:
GameboardPlacementLayer
Render and occupancy layer.
metadata
Section titled “metadata”metadata:
Record<string,string|number|boolean|null>
Serializable placement metadata for rules, ECS interop, and render hints.
order:
number=0
Stable sort order used by renderers and snapshots.
position
Section titled “position”position:
WorldPosition
World-space placement anchor after elevation and local offsets.
requiresExtra
Section titled “requiresExtra”requiresExtra:
boolean=false
Whether the placement depends on local-only EXTRA assets.
rotationRadians
Section titled “rotationRadians”rotationRadians:
number=0
Rotation in radians derived from rotationSteps.
rotationSteps
Section titled “rotationSteps”rotationSteps:
number=0
Clockwise 60-degree rotation steps.
scale:
number=1
Uniform render scale.
stackIndex
Section titled “stackIndex”stackIndex:
number|undefined
Optional stack index for layered terrain and vertical props.
textureSet
Section titled “textureSet”textureSet:
"default"|"fall"|"summer"|"winter"
KayKit texture set applied to this placement.
tileKey
Section titled “tileKey”tileKey:
string=''
Origin tile key in q,r form.