Weather Class

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

Constructor

Weather ()

Item Index

Methods Properties

Methods

update ()

Updates the weather for each frame.

Properties

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'].