PathProfile beta
Interface of @v12-engine/engine
ts
export interface PathProfileThe bed a path carves, as a road or a river: its middle as smooth along it as a road is (the land along it averaged over four cells each way), lowered by depth, level across width, eased into the land over banks cells each side; painted with ground, and with water in it for a river
Members
banks
ts
banks?: number;Over how many cells each side the bed is eased into the land: 2 when left out
depth
ts
depth?: number;How far below the land along it the bed is (0, a road; a river's bed with its water), in the heights' units
ground
ts
ground?: string;A tile of the game's the bed is painted with, by id (over the path's paint)
water
ts
water?: boolean;Water in the bed: deep where depth is 1 or more, else shallow (a river, a ford)
width
ts
width?: number;How wide the bed is, in cells: the path's own width when left out