SpawnGameboardActorOptions
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:100
Options for spawning a placement and registering it as an actor in one call.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”actorId
Section titled “actorId”actorId:
string
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:54
Stable gameplay actor id.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.actorId
actorKind?
Section titled “actorKind?”
optionalactorKind?:GameboardActorKind
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:56
Gameplay actor kind. Defaults from placement kind.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.actorKind
actorMetadata?
Section titled “actorMetadata?”
optionalactorMetadata?:Readonly<Record<string,GameboardActorMetadataValue>>
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:70
Serializable actor metadata independent from placement metadata.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.actorMetadata
assetId
Section titled “assetId”assetId:
string
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:302
Manifest or external registry asset id to render.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.assetId
at:
string|HexCoordinates
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:300
Origin tile or tile key where the placement should spawn.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.at
blocksMovement?
Section titled “blocksMovement?”
optionalblocksMovement?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:64
Whether this actor blocks actor movement.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.blocksMovement
elevationOffset?
Section titled “elevationOffset?”
optionalelevationOffset?:number
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:310
Extra vertical offset above the tile elevation.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.elevationOffset
faction?
Section titled “faction?”
optionalfaction?:string|null
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:58
Optional faction identifier.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.faction
hostile?
Section titled “hostile?”
optionalhostile?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:62
Whether this actor is generally hostile.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.hostile
optionalid?:string
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:298
Explicit placement id. Defaults to a deterministic runtime id.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.id
interactive?
Section titled “interactive?”
optionalinteractive?:boolean
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:66
Whether this actor should be considered an interaction target.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.interactive
kind:
GameboardPlacementKind
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:304
Gameplay category for rules, selectors, and rendering.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.kind
layer?
Section titled “layer?”
optionallayer?:GameboardPlacementLayer
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:306
Render and occupancy layer. Defaults from kind.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.layer
metadata?
Section titled “metadata?”
optionalmetadata?:Readonly<Record<string,string|number|boolean|null>>
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:324
Serializable placement metadata for rules, ECS interop, and render hints.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.metadata
occupancyGuard?
Section titled “occupancyGuard?”
optionaloccupancyGuard?:GameboardPlacementOccupancyGuard
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:326
Optional occupancy validation before spawning.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.occupancyGuard
order?
Section titled “order?”
optionalorder?:number
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:318
Stable sort order used by renderers and snapshots.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.order
positionOffset?
Section titled “positionOffset?”
optionalpositionOffset?:GameboardPlacementPositionOffset
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:312
Local world-space offset after tile/elevation anchoring.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.positionOffset
requiresExtra?
Section titled “requiresExtra?”
optionalrequiresExtra?:boolean
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:322
Whether the placement depends on local-only EXTRA assets.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.requiresExtra
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:314
Clockwise 60-degree rotation steps.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.rotationSteps
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:316
Uniform render scale.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.scale
stackIndex?
Section titled “stackIndex?”
optionalstackIndex?:number
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:320
Optional stack index for layered terrain and vertical props.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.stackIndex
optionaltags?: readonlystring[]
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:68
Free-form actor tags used by selectors and quests.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.tags
optionalteam?:string|null
Defined in: packages/declarative-hex-worlds/src/actors/actors.ts:60
Optional team identifier. Defaults to faction when omitted.
Inherited from
Section titled “Inherited from”GameboardActorRegistrationOptions.team
textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:308
Texture set override. Defaults to the origin tile texture set.