Skip to content

Waterfall beta ​

Interface of @v12-engine/client

ts
export interface Waterfall

A waterfall as it is drawn: found from the ground and the water, or placed by hand (MapWaterfall)

Members ​

bottom ​

ts
bottom: number;

The height the water lands at, in cells

facing ​

ts
facing: number;

The way it falls, turned around the up axis in radians as facings turn (0 toward +z)

length ​

ts
length: number;

How far ahead of its lip it lands, in cells

placed ​

ts
placed?: number;

The map's waterfall it is (MapWaterfall.id), where it was placed by hand; found when left out

top ​

ts
top: number;

How high the water it spills from is, and where it lands

width ​

ts
width: number;

How wide it is across, in cells

x ​

ts
x: number;

The middle of its lip, where the water goes over

z ​

ts
z: number;

The ground axis along which x is not measured, of the middle of its lip, in cells