FortificationOptions
Defined in: src/gameboard/gameboard.ts:519
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: src/gameboard/gameboard.ts:521
Tile where the segment is anchored.
enclosureId?
Section titled “enclosureId?”
optionalenclosureId?:string
Defined in: src/gameboard/gameboard.ts:531
Optional stable id for a multi-segment enclosure.
facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: src/gameboard/gameboard.ts:527
Edge the segment faces; also used as the default rotation.
material?
Section titled “material?”
optionalmaterial?:FortificationMaterial
Defined in: src/gameboard/gameboard.ts:523
Material family. Defaults to wall.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: src/gameboard/gameboard.ts:529
Clockwise 60-degree rotation steps. Overrides facing when provided.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/gameboard/gameboard.ts:533
Uniform render scale.
segment?
Section titled “segment?”
optionalsegment?:FortificationSegment
Defined in: src/gameboard/gameboard.ts:525
Segment visual shape. Defaults to straight.