Class: UI::WeatherSprite::SunnyAnimation

Inherits:
WeatherSprite
  • Object
show all
Defined in:
docs/5_Battle_02_Visual.rb

Overview

Handles the sunny weather animation in the battle scene

Instance Method Summary collapse

Constructor Details

#initialize(viewport, scene, weather) ⇒ SunnyAnimation

Initializes the SunnyAnimation instance

Parameters:

  • viewport (Viewport) —

    The viewport in which the animation will be displayed

  • scene (Battle::Scene) —

    The active battle scene

  • weather (Symbol) —

    The weather type (:sunny, :hardsun)



2971
2972
# File 'docs/5_Battle_02_Visual.rb', line 2971

def initialize(viewport, scene, weather)
end

Instance Method Details

#create_hexagon_animations ⇒ Array<Yuki::Animation::Player>

Creates all animations related to the sun hexagon elements

Returns:



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

Returns:



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

Returns:

  • (Array(Integer,Integer))


3012
3013
# File 'docs/5_Battle_02_Visual.rb', line 3012

def end_coordinates_hexagon
end

#hexagon_num ⇒ Integer

Number of hexagon sprites

Returns:

  • (Integer)


3000
3001
# File 'docs/5_Battle_02_Visual.rb', line 3000

def hexagon_num
end

#ray_number ⇒ Integer

Number of ray sprites

Returns:

  • (Integer)


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

Returns:

  • (Array(Integer,Integer))


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 viewport_tone_animation
end

#weather_animation(weather)

This method returns an undefined value.

Starts the sunny animation sequence

Parameters:

  • weather (Symbol) —

    The weather animation type (:sunny, :hardsun)



2976
2977
# File 'docs/5_Battle_02_Visual.rb', line 2976

def weather_animation(weather)
end

#weather_sound ⇒ RPG::AudioFile

Audio for sunny weather

Returns:



3016
3017
# File 'docs/5_Battle_02_Visual.rb', line 3016

def weather_sound
end