Class: UI::MegaEvolveAnimation

Inherits:
SpriteStack show all
Defined in:
docs/5_Battle_02_Visual.rb

Overview

Handle the mega evolution animation in the battle scene

Constant Summary

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

Methods inherited from SpriteStack

#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport, scene, target, target_sprite) ⇒ MegaEvolveAnimation

Create a new MegaEvolve Spritestack

Parameters:



2681
2682
# File 'docs/5_Battle_02_Visual.rb', line 2681

def initialize(viewport, scene, target, target_sprite)
end

Instance Method Details

#mega_evolution_animation

Play the MegaEvolve animation



2684
2685
# File 'docs/5_Battle_02_Visual.rb', line 2684

def mega_evolution_animation
end