AddBridgeRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:244
Recipe step that places a bridge structure with bridge-specific metadata.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"addBridge"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:246
Discriminator for bridge placement.
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.
Inherited from
Section titled “Inherited from”facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:458
Edge the bridge points toward; also used as the default rotation.
Inherited from
Section titled “Inherited from”rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:460
Clockwise 60-degree rotation steps. Overrides facing when provided.
Inherited from
Section titled “Inherited from”scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:462
Uniform render scale.
Inherited from
Section titled “Inherited from”variant?
Section titled “variant?”
optionalvariant?:BridgeVariant
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:456
KayKit bridge visual variant. Defaults to A.