Class: Yuki::Animation::SignalWaiter
- Defined in:
- docs/4_Systems_005_Animation.rb
Overview
Animation that wait for a signal in order to start the sub animation
Instance Attribute Summary
Attributes included from Yuki::AnimationMixin
Instance Method Summary collapse
-
#initialize(name = nil, *args, &block) ⇒ SignalWaiter
constructor
Create a new SignalWaiter.
-
#start(begin_offset = 0) ⇒ self
Start the animation (initialize it).
-
#update
Update the animation.
Methods inherited from Player
#animation_index, #done?, #duration, #first_start_time, #last_end_time, #parallel_add, #play, #resolver=, #root
Methods included from Yuki::AnimationMixin
#begin_offset_for_next_animation, #done?, #duration
Constructor Details
#initialize(name = nil, *args, &block) ⇒ SignalWaiter
Create a new SignalWaiter
867 868 |
# File 'docs/4_Systems_005_Animation.rb', line 867 def initialize(name = nil, *args, &block) end |
Instance Method Details
#start(begin_offset = 0) ⇒ self
Start the animation (initialize it)
872 873 |
# File 'docs/4_Systems_005_Animation.rb', line 872 def start(begin_offset = 0) end |
#update
Update the animation
875 876 |
# File 'docs/4_Systems_005_Animation.rb', line 875 def update end |