The weather effect which displays rain, storm, or snow.
Name | Type | Description |
---|---|---|
type |
String | The type of the weather. |
power |
Number | The power of the weather in the range (0, 9). |
origin |
Point | The origin point of the weather for scrolling. |
_width |
Number | |
_height |
Number | |
_sprites |
Array.<Sprite> | |
_rainBitmap |
Bitmap | |
_stormBitmap |
Bitmap | |
_snowBitmap |
Bitmap | |
_dimmerSprite |
ScreenSprite |
type | 天候タイプ |
---|---|
none | |
rain | |
storm | |
snow |
Name | Type | Description |
---|---|---|
sprite |
Sprite |
Name | Type | Description |
---|---|---|
sprite |
Sprite |
Name | Type | Description |
---|---|---|
sprite |
Sprite |
Name | Type | Description |
---|---|---|
sprite |
Sprite |
Name | Type | Description |
---|---|---|
sprite |
Sprite |
オブジェクト生成時の初期化。
Updates the weather for each frame.