RPG::Weather

Class for weather effects (rain, storm, snow) displayed via RPGXP's Event command.

Superclass

Class Method

RPG::Weather.new([viewport])

Creates an RPG::Weather object. Specifies a Viewport (Viewport) when necessary.

Methods

dispose

Frees a weather effect.

update

Advances the weather effect. As a rule, this method is called once per frame.

Properties

type

Weather type (0: none, 1: rain, 2: storm; 3: snow).

max

Amount of weather to be shown at once (0..40).

ox

The X-coordinate of the effect's starting point. Correlates with the tilemap starting point and scrolls.

oy

The Y-coordinate of the effect's starting point. Correlates with the tilemap starting point and scrolls.

Definition

Last updated