ElevationRampOptions
Defined in: src/gameboard/gameboard.ts:495
Options for adding a sloped grass ramp between adjacent elevation levels.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”at:
HexCoordinates
Defined in: src/gameboard/gameboard.ts:497
Lower tile where the visible ramp is anchored.
direction?
Section titled “direction?”
optionaldirection?:ElevationRampDirection
Defined in: src/gameboard/gameboard.ts:499
Visual ramp direction. Defaults to up.
elevationOffset?
Section titled “elevationOffset?”
optionalelevationOffset?:number
Defined in: src/gameboard/gameboard.ts:511
Fractional elevation offset above the tile surface.
facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: src/gameboard/gameboard.ts:501
Edge the ramp points toward; also used as the default rotation.
fromElevation?
Section titled “fromElevation?”
optionalfromElevation?:number
Defined in: src/gameboard/gameboard.ts:505
Elevation on the anchor tile. Defaults to the tile elevation.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: src/gameboard/gameboard.ts:503
Clockwise 60-degree rotation steps. Overrides facing when provided.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/gameboard/gameboard.ts:513
Uniform render scale.
textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: src/gameboard/gameboard.ts:509
Texture set to apply to the anchor tile before placing the ramp.
toElevation?
Section titled “toElevation?”
optionaltoElevation?:number
Defined in: src/gameboard/gameboard.ts:507
Elevation reached by the ramp. Defaults to one level above or below fromElevation.