Class: Weather

Weather

new Weather()

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

Extends

  • PIXI.Container

Members

originPoint

The origin point of the weather for scrolling

powernumber

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

typestring

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

Methods

destroy()

Destroys the weather

initialize()

Initializes the weather object
Updates the weather for each frame