Skip to content

FortificationOptions

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:492

Options for adding a wall or fence segment with fortification metadata.

at: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:494

Tile where the segment is anchored.


optional enclosureId?: string

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:504

Optional stable id for a multi-segment enclosure.


optional facing?: HexEdgeIndex

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:500

Edge the segment faces; also used as the default rotation.


optional material?: FortificationMaterial

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:496

Material family. Defaults to wall.


optional rotationSteps?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:502

Clockwise 60-degree rotation steps. Overrides facing when provided.


optional scale?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:506

Uniform render scale.


optional segment?: FortificationSegment

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:498

Segment visual shape. Defaults to straight.