HarborOptions
Defined in: src/gameboard/gameboard.ts:415
Options for adding a harbor structure and optional water props.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”at:
HexCoordinates
Defined in: src/gameboard/gameboard.ts:417
Coast tile where the harbor is anchored.
facing
Section titled “facing”facing:
HexEdgeIndex
Defined in: src/gameboard/gameboard.ts:419
Edge facing adjacent water.
faction
Section titled “faction”faction:
"blue"|"green"|"red"|"yellow"
Defined in: src/gameboard/gameboard.ts:421
Faction color for the harbor.
includeProps?
Section titled “includeProps?”
optionalincludeProps?:boolean
Defined in: src/gameboard/gameboard.ts:425
Whether to add adjacent boat/anchor props.
optionalkind?:HarborKind
Defined in: src/gameboard/gameboard.ts:423
Harbor structure variant.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: src/gameboard/gameboard.ts:427
Clockwise 60-degree rotation steps. Defaults to facing.