HarborOptions
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:388
Options for adding a harbor structure and optional water props.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:390
Coast tile where the harbor is anchored.
facing
Section titled “facing”facing:
HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:392
Edge facing adjacent water.
faction
Section titled “faction”faction:
"blue"|"green"|"red"|"yellow"
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:394
Faction color for the harbor.
includeProps?
Section titled “includeProps?”
optionalincludeProps?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:398
Whether to add adjacent boat/anchor props.
optionalkind?:HarborKind
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:396
Harbor structure variant.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:400
Clockwise 60-degree rotation steps. Defaults to facing.