FortificationOptions
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:492
Options for adding a wall or fence segment with fortification metadata.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:494
Tile where the segment is anchored.
enclosureId?
Section titled “enclosureId?”
optionalenclosureId?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:504
Optional stable id for a multi-segment enclosure.
facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:500
Edge the segment faces; also used as the default rotation.
material?
Section titled “material?”
optionalmaterial?:FortificationMaterial
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:496
Material family. Defaults to wall.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:502
Clockwise 60-degree rotation steps. Overrides facing when provided.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:506
Uniform render scale.
segment?
Section titled “segment?”
optionalsegment?:FortificationSegment
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:498
Segment visual shape. Defaults to straight.