Class: UI::WeatherSprite::SunnyAnimation
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Handles the sunny weather animation in the battle scene
Instance Method Summary collapse
-
#create_hexagon_animations ⇒ Array<Yuki::Animation::Player>
Creates all animations related to the sun hexagon elements.
-
#create_ray_animations ⇒ Array<Yuki::Animation::Player>
Creates all animations related to the sunny rays.
-
#create_sun_elements
Creates all sunny-weather visual elements (hexagons and rays).
-
#create_sunny_animation
Creates and starts the complete sunny weather animation.
-
#end_coordinates_hexagon ⇒ Array(Integer,Integer)
End coordinates for hexagon sprites.
-
#hexagon_num ⇒ Integer
Number of hexagon sprites.
-
#initialize(viewport, scene, weather) ⇒ SunnyAnimation
constructor
Initializes the SunnyAnimation instance.
-
#ray_number ⇒ Integer
Number of ray sprites.
-
#start_coordinates_hexagon ⇒ Array(Integer,Integer)
Start coordinates for hexagon sprites.
-
#viewport_tone_animation ⇒ Yuki::Animation::Player
Applies a temporary yellowish tint to the viewport.
-
#weather_animation(weather)
Starts the sunny animation sequence.
-
#weather_sound ⇒ RPG::AudioFile
Audio for sunny weather.
Constructor Details
#initialize(viewport, scene, weather) ⇒ SunnyAnimation
Initializes the SunnyAnimation instance
2971 2972 |
# File 'docs/5_Battle_02_Visual.rb', line 2971 def initialize(, scene, weather) end |
Instance Method Details
#create_hexagon_animations ⇒ Array<Yuki::Animation::Player>
Creates all animations related to the sun hexagon elements
2988 2989 |
# File 'docs/5_Battle_02_Visual.rb', line 2988 def create_hexagon_animations end |
#create_ray_animations ⇒ Array<Yuki::Animation::Player>
Creates all animations related to the sunny rays
2992 2993 |
# File 'docs/5_Battle_02_Visual.rb', line 2992 def create_ray_animations end |
#create_sun_elements
This method returns an undefined value.
Creates all sunny-weather visual elements (hexagons and rays)
2984 2985 |
# File 'docs/5_Battle_02_Visual.rb', line 2984 def create_sun_elements end |
#create_sunny_animation
This method returns an undefined value.
Creates and starts the complete sunny weather animation
2980 2981 |
# File 'docs/5_Battle_02_Visual.rb', line 2980 def create_sunny_animation end |
#end_coordinates_hexagon ⇒ Array(Integer,Integer)
End coordinates for hexagon sprites
3012 3013 |
# File 'docs/5_Battle_02_Visual.rb', line 3012 def end_coordinates_hexagon end |
#hexagon_num ⇒ Integer
Number of hexagon sprites
3000 3001 |
# File 'docs/5_Battle_02_Visual.rb', line 3000 def hexagon_num end |
#ray_number ⇒ Integer
Number of ray sprites
3004 3005 |
# File 'docs/5_Battle_02_Visual.rb', line 3004 def ray_number end |
#start_coordinates_hexagon ⇒ Array(Integer,Integer)
Start coordinates for hexagon sprites
3008 3009 |
# File 'docs/5_Battle_02_Visual.rb', line 3008 def start_coordinates_hexagon end |
#viewport_tone_animation ⇒ Yuki::Animation::Player
Applies a temporary yellowish tint to the viewport
2996 2997 |
# File 'docs/5_Battle_02_Visual.rb', line 2996 def end |
#weather_animation(weather)
This method returns an undefined value.
Starts the sunny animation sequence
2976 2977 |
# File 'docs/5_Battle_02_Visual.rb', line 2976 def weather_animation(weather) end |
#weather_sound ⇒ RPG::AudioFile
Audio for sunny weather
3016 3017 |
# File 'docs/5_Battle_02_Visual.rb', line 3016 def weather_sound end |