Skip to content

BridgeOptions

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

Options for adding a neutral bridge structure.

at: HexCoordinates

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

Tile where the bridge is anchored, usually a road crossing over water or river terrain.


optional facing?: HexEdgeIndex

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

Edge the bridge points toward; also used as the default rotation.


optional rotationSteps?: number

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

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


optional scale?: number

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

Uniform render scale.


optional variant?: BridgeVariant

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

KayKit bridge visual variant. Defaults to A.