Skip to content

MapWeatherArea beta ​

Interface of @v12-engine/client

ts
export interface MapWeatherArea

A place weather falls in (MapWeather.areas): a shape of its own or a region by name, and how much falls there, as a part of the weather's amount

Members ​

amount ​

ts
amount?: number;

0 to 1, of the weather's amount: all of it when left out

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

shape ​

ts
shape: AreaRef;

The place the weather falls in: a shape of its own or a region of the map by name