Class: Battle::Visual::FakeHPAnimation
- Inherits:
-
Yuki::Animation::TimedAnimation
- Object
- Yuki::Animation::TimedAnimation
- Battle::Visual::FakeHPAnimation
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Waiting animation if 0 HP are dealt
Instance Attribute Summary
Attributes inherited from Yuki::Animation::TimedAnimation
#begin_time, #end_time, #parallel_animations, #root, #sub_animation, #time_source
Instance Method Summary collapse
-
#done? ⇒ Boolean
Detect if the animation if done.
-
#effectiveness_sound(effectiveness)
Play the effectiveness sound.
-
#initialize(scene, target, effectiveness = nil) ⇒ FakeHPAnimation
constructor
Create the HP Animation.
-
#update
Update the animation.
Methods inherited from Yuki::Animation::TimedAnimation
#in_parallel_of, #parallel_add, #play_before, #resolver=, #start
Constructor Details
#initialize(scene, target, effectiveness = nil) ⇒ FakeHPAnimation
Create the HP Animation
459 460 |
# File 'docs/5_Battle_02_Visual.rb', line 459 def initialize(scene, target, effectiveness = nil) end |
Instance Method Details
#done? ⇒ Boolean
Detect if the animation if done
466 467 |
# File 'docs/5_Battle_02_Visual.rb', line 466 def done? end |
#effectiveness_sound(effectiveness)
Play the effectiveness sound
469 470 |
# File 'docs/5_Battle_02_Visual.rb', line 469 def effectiveness_sound(effectiveness) end |
#update
Update the animation
462 463 |
# File 'docs/5_Battle_02_Visual.rb', line 462 def update end |