Class: Yuki::Animation::FullyResolvedAnimation
- Defined in:
- docs/4_Systems_005_Animation.rb
Overview
Note:
The play command of all animation played before resolved animation will be called after all previous animation were called. It's a good practice not to put something else than dispose command after a fully resolved animation.
Class that help to handle animations that depends on sprite creation commands
Instance Attribute Summary
Attributes included from Yuki::AnimationMixin
Instance Method Summary collapse
-
#done? ⇒ Boolean
Check if the animation is done.
-
#start(begin_offset = 0) ⇒ self
Start the animation.
-
#update ⇒ self
Update the animation.
Methods inherited from Player
#animation_index, #duration, #first_start_time, #initialize, #last_end_time, #parallel_add, #play, #resolver=, #root
Methods included from Yuki::AnimationMixin
#begin_offset_for_next_animation, #duration
Constructor Details
This class inherits a constructor from Yuki::Animation::Player
Instance Method Details
#done? ⇒ Boolean
Check if the animation is done
848 849 |
# File 'docs/4_Systems_005_Animation.rb', line 848 def done? end |
#start(begin_offset = 0) ⇒ self
Start the animation
844 845 |
# File 'docs/4_Systems_005_Animation.rb', line 844 def start(begin_offset = 0) end |
#update ⇒ self
Update the animation
852 853 |
# File 'docs/4_Systems_005_Animation.rb', line 852 def update end |