Class: UI::ContestSkillChoice::ContestMoveDescription
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::ContestSkillChoice::ContestMoveDescription
- Includes:
- BattleUI::HideShow
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
Element showing the full description about the currently selected move
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary collapse
-
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation}
readonly
Get the animation handler.
-
#appeal_hearts ⇒ Array<SpriteSheet>
readonly
Appeal hearts sprites.
-
#jam_hearts ⇒ Array<SpriteSheet>
readonly
Jam hearts sprites.
Attributes inherited from SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#done? ⇒ Boolean
Tell if the animation is done.
-
#initialize(viewport) ⇒ ContestMoveDescription
constructor
Create a new MoveDescription.
-
#update
Update the sprite.
-
#visible=(visible)
Make sure sprite is visible only if the data is right.
Methods included from BattleUI::HideShow
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, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport) ⇒ ContestMoveDescription
Create a new MoveDescription
268 269 |
# File 'docs/6_Contest_01_Scene.rb', line 268 def initialize() end |
Instance Attribute Details
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation} (readonly)
Get the animation handler
259 260 261 |
# File 'docs/6_Contest_01_Scene.rb', line 259 def animation_handler @animation_handler end |
#appeal_hearts ⇒ Array<SpriteSheet> (readonly)
Appeal hearts sprites
262 263 264 |
# File 'docs/6_Contest_01_Scene.rb', line 262 def appeal_hearts @appeal_hearts end |
#jam_hearts ⇒ Array<SpriteSheet> (readonly)
Jam hearts sprites
265 266 267 |
# File 'docs/6_Contest_01_Scene.rb', line 265 def jam_hearts @jam_hearts end |
Instance Method Details
#done? ⇒ Boolean
Tell if the animation is done
275 276 |
# File 'docs/6_Contest_01_Scene.rb', line 275 def done? end |
#update
Update the sprite
271 272 |
# File 'docs/6_Contest_01_Scene.rb', line 271 def update end |
#visible=(visible)
Make sure sprite is visible only if the data is right
279 280 |
# File 'docs/6_Contest_01_Scene.rb', line 279 def visible=(visible) end |