Skip to content

MapWaterfall beta ​

Interface of @v12-engine/client

ts
export interface MapWaterfall

A waterfall put on the map by hand (WT2): water falling from its lip the way it faces, wherever it is, whatever the ground does there (a spring out of a cliff's face, a fall the ground alone does not make). How far it falls and where it lands are found from the ground and the water ahead of it, unless it says. It looks as the map's falls do (WaterLook.falls), and is drawn while those are on, found ones or not

Members ​

drop ​

ts
drop?: number;

How far it falls, in height: down to the ground or the water ahead of it when left out

facing ​

ts
facing: number;

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

id ​

ts
id: number;

Its id among the map's of its kind: what the editor finds it by, kept as it is moved and as others come and go

name ​

ts
name?: string;

What the editor and its search call it, where it is given a name

on ​

ts
on?: boolean;

Stopped: not drawn (false); drawn when left out

width ​

ts
width?: number;

How wide it is across, in cells. 2 when left out

x ​

ts
x: number;

The middle of its lip, where the water goes over

z ​

ts
z: number;

The waterfall's z position in cells