Class: UI::HMBarScene::HMBarAnimation

Inherits:
SpriteStack show all
Defined in:
docs/4_Systems_304_HMBarScene.rb

Overview

HMBarAnimation UI element

Constant Summary

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

#animated, #data, #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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport, reason) ⇒ HMBarAnimation

Create a new HMBarAnimation UI

Parameters:

  • viewport (Viewport)
  • reason (Symbol)

    db_symbol of the HM move



9
10
# File 'docs/4_Systems_304_HMBarScene.rb', line 9

def initialize(viewport, reason)
end

Instance Method Details

#done?Boolean

Tell if the animation is done

Returns:

  • (Boolean)


12
13
# File 'docs/4_Systems_304_HMBarScene.rb', line 12

def done?
end

#update

Update the HMBarAnimation UI



15
16
# File 'docs/4_Systems_304_HMBarScene.rb', line 15

def update
end