Skip to content

HexTileDeclaration

Defined in: src/scenario/registry.ts:114

Normalized tile declaration stored in a registry.

adjacency: readonly TileAdjacencyRule[]

Defined in: src/scenario/registry.ts:136

Adjacency rules consumed by validation and generators.


assetId: string

Defined in: src/scenario/registry.ts:118

Manifest asset id to place when this declaration is applied.


optional bounds?: 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: 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: 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: 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.


optional terrain?: GameboardTerrain

Defined in: src/scenario/registry.ts:124

Default terrain assigned when the declaration becomes the base tile.


optional textureSet?: "default" | "fall" | "summer" | "winter"

Defined in: src/scenario/registry.ts:126

Texture set associated with the declaration when it came from a pack variant.