Skip to content

1681-engine / pixel / SwayWind

Interface: SwayWind ​

Defined in: src/pixel/SwayProp.ts:55

Properties ​

gustPx ​

ts
gustPx: number;

Defined in: src/pixel/SwayProp.ts:60


gustSeconds ​

ts
gustSeconds: number;

Defined in: src/pixel/SwayProp.ts:59

A gust's period (s) and wavelength across the world (px); see gustAt.


minReach? ​

ts
optional minReach?: number;

Defined in: src/pixel/SwayProp.ts:62

The least reach while any wind blows (swayOffset).


wind ​

ts
wind: number;

Defined in: src/pixel/SwayProp.ts:57

0 still … 1 a full wind.

Released under the MIT License.