Class: UI::WeatherSprite::RainAnimation
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Handles the rain animation in the battle scene
Instance Method Summary collapse
-
#create_drop_animation(drop_sprite) ⇒ Yuki::Animation::Player
Creates an animation for a single rain drop.
-
#create_drop_sprite
Creates all rain drop sprites.
-
#create_weather_animation
Creates the rain animation sequence including sound and viewport tone.
-
#initialize(viewport, scene, weather) ⇒ RainAnimation
constructor
Initializes the RainAnimation instance.
-
#rain_drop_duration ⇒ Float
Duration of the fall for a single rain drop.
-
#rain_drop_number ⇒ Integer
Number of rain drops to generate.
-
#weather_animation(weather)
Starts the rain animation.
-
#weather_sound ⇒ RPG::AudioFile
Audio file for rain weather.
Constructor Details
#initialize(viewport, scene, weather) ⇒ RainAnimation
Initializes the RainAnimation instance
2879 2880 |
# File 'docs/5_Battle_02_Visual.rb', line 2879 def initialize(, scene, weather) end |
Instance Method Details
#create_drop_animation(drop_sprite) ⇒ Yuki::Animation::Player
Creates an animation for a single rain drop
2897 2898 |
# File 'docs/5_Battle_02_Visual.rb', line 2897 def create_drop_animation(drop_sprite) end |
#create_drop_sprite
This method returns an undefined value.
Creates all rain drop sprites
2892 2893 |
# File 'docs/5_Battle_02_Visual.rb', line 2892 def create_drop_sprite end |
#create_weather_animation
This method returns an undefined value.
Creates the rain animation sequence including sound and viewport tone
2888 2889 |
# File 'docs/5_Battle_02_Visual.rb', line 2888 def create_weather_animation end |
#rain_drop_duration ⇒ Float
Duration of the fall for a single rain drop
2901 2902 |
# File 'docs/5_Battle_02_Visual.rb', line 2901 def rain_drop_duration end |
#rain_drop_number ⇒ Integer
Number of rain drops to generate
2905 2906 |
# File 'docs/5_Battle_02_Visual.rb', line 2905 def rain_drop_number end |
#weather_animation(weather)
This method returns an undefined value.
Starts the rain animation
2884 2885 |
# File 'docs/5_Battle_02_Visual.rb', line 2884 def weather_animation(weather) end |
#weather_sound ⇒ RPG::AudioFile
Audio file for rain weather
2909 2910 |
# File 'docs/5_Battle_02_Visual.rb', line 2909 def weather_sound end |