HexTileDeclaration
Defined in: src/scenario/registry.ts:114
Normalized tile declaration stored in a registry.
Properties
Section titled “Properties”adjacency
Section titled “adjacency”adjacency: readonly
TileAdjacencyRule[]
Defined in: src/scenario/registry.ts:136
Adjacency rules consumed by validation and generators.
assetId
Section titled “assetId”assetId:
string
Defined in: src/scenario/registry.ts:118
Manifest asset id to place when this declaration is applied.
bounds?
Section titled “bounds?”
optionalbounds?:AssetBounds
Defined in: src/scenario/registry.ts:128
Asset bounds used by geometry analysis and compatibility warnings.
edges: readonly
TileEdgeDeclaration[]
Defined in: src/scenario/registry.ts:134
Normalized edge connection masks.
geometry
Section titled “geometry”geometry:
HexGeometry
Defined in: src/scenario/registry.ts:130
Complete hex footprint geometry for placement and scaling calculations.
id:
string
Defined in: src/scenario/registry.ts:116
Stable declaration id used by recipes and registry lookups.
metadata
Section titled “metadata”metadata:
Readonly<Record<string,string|number|boolean|null>>
Defined in: src/scenario/registry.ts:142
Additional serializable metadata to copy onto placements.
role:
TileDeclarationRole
Defined in: src/scenario/registry.ts:122
Board construction role for the declaration.
scale:
number
Defined in: src/scenario/registry.ts:132
Default placement scale for feature/unit declarations.
source
Section titled “source”source:
string
Defined in: src/scenario/registry.ts:120
Human-readable source label, commonly manifest, extra, or a pack id.
stack:
TileStackRule
Defined in: src/scenario/registry.ts:138
Stacking behavior for elevation/support placement.
tags: readonly
string[]
Defined in: src/scenario/registry.ts:140
Search and selection tags attached to the declaration.
terrain?
Section titled “terrain?”
optionalterrain?:GameboardTerrain
Defined in: src/scenario/registry.ts:124
Default terrain assigned when the declaration becomes the base tile.
textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: src/scenario/registry.ts:126
Texture set associated with the declaration when it came from a pack variant.