Class: BattleUI::ExpDistribution
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- BattleUI::ExpDistribution
- Includes:
- ExpDistributionAbstraction, UI
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
UI element showing the exp distribution
Defined Under Namespace
Classes: PokemonInfo, Statistics
Constant Summary
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes included from ExpDistributionAbstraction
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#done? ⇒ Boolean
Test if the scene is done distributing experience.
-
#initialize(viewport, scene, exp_data) ⇒ ExpDistribution
constructor
Create a new exp distribution.
-
#start_animation
Start the exp distribution animation.
-
#update
Update the scene.
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, scene, exp_data) ⇒ ExpDistribution
Create a new exp distribution
1635 1636 |
# File 'docs/5_Battle_01_Scene.rb', line 1635 def initialize(, scene, exp_data) end |
Instance Method Details
#done? ⇒ Boolean
Test if the scene is done distributing experience
1642 1643 |
# File 'docs/5_Battle_01_Scene.rb', line 1642 def done? end |
#start_animation
Start the exp distribution animation
1645 1646 |
# File 'docs/5_Battle_01_Scene.rb', line 1645 def start_animation end |
#update
Update the scene
1638 1639 |
# File 'docs/5_Battle_01_Scene.rb', line 1638 def update end |