Class: BattleUI::ExpDistribution::Statistics
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- BattleUI::ExpDistribution::Statistics
- Includes:
- GoingInOut
- Defined in:
- docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb
Overview
UI element showing the new statistics
Constant Summary collapse
- IN_POSITION =
Position of the sprite when it’s in
[0, 144]
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary collapse
-
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation}
readonly
Get the animation handler.
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#done? ⇒ Boolean
Tell if the animation is done.
-
#initialize(viewport, pokemon, list0, list1) ⇒ Statistics
constructor
Create a new Statistics UI.
-
#update
Update the animation.
Methods included from GoingInOut
Methods inherited from UI::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, pokemon, list0, list1) ⇒ Statistics
Create a new Statistics UI
1681 1682 |
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 1681 def initialize(, pokemon, list0, list1) end |
Instance Attribute Details
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation} (readonly)
Get the animation handler
1673 1674 1675 |
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 1673 def animation_handler @animation_handler end |
Instance Method Details
#done? ⇒ Boolean
Tell if the animation is done
1685 1686 |
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 1685 def done? end |
#update
Update the animation
1688 1689 |
# File 'docs/01600_Alpha_25_Battle_Engine_00001_Battle_Scene.rb', line 1688 def update end |