Class: Battle::Visual::HPAnimation
- Inherits:
-
Yuki::Animation::Player
- Object
- Yuki::Animation::Player
- Battle::Visual::HPAnimation
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Animation of HP getting down/up
Instance Attribute Summary
Attributes included from Yuki::AnimationMixin
Instance Method Summary collapse
-
#done? ⇒ Boolean
Detect if the animation if done.
-
#initialize(scene, target, quantity, _effectiveness = nil) ⇒ HPAnimation
constructor
Create the HP Animation.
-
#update
Update the animation.
Methods inherited from Yuki::Animation::Player
#animation_index, #duration, #first_start_time, #last_end_time, #parallel_add, #play, #resolver=, #root, #start
Methods included from Yuki::AnimationMixin
#begin_offset_for_next_animation, #duration, #start
Constructor Details
#initialize(scene, target, quantity, _effectiveness = nil) ⇒ HPAnimation
Create the HP Animation
598 599 |
# File 'docs/5_Battle_02_Visual.rb', line 598 def initialize(scene, target, quantity, _effectiveness = nil) end |
Instance Method Details
#done? ⇒ Boolean
Detect if the animation if done
605 606 |
# File 'docs/5_Battle_02_Visual.rb', line 605 def done? end |
#update
Update the animation
601 602 |
# File 'docs/5_Battle_02_Visual.rb', line 601 def update end |