Class: Weather

Weather

new Weather ()

The weather effect which displays rain, storm, or snow.

Extends

  • PIXI.Container

Members

origin Point

The origin point of the weather for scrolling.

power number

The power of the weather in the range (0, 9).

type string

The type of the weather in ["none", "rain", "storm", "snow"].

Methods

destroy ()

Destroys the weather.

update ()

Updates the weather for each frame.