Module: Yuki::Animation::Mutant
- Defined in:
- docs/4_Systems_005_Animation.rb
Overview
Mutant player, for the case an animation is used to perform play_before and other actions
Instance Method Summary collapse
-
#done? ⇒ Boolean
Check if the animation is done.
-
#duration ⇒ Float
Get the animation duration in seconds.
-
#player=(player)
Set the player.
-
#resolver=(value)
Set the resolver.
-
#start(begin_offset = 0) ⇒ self
Start the animation.
-
#update ⇒ self
Update the animation.
Instance Method Details
#done? ⇒ Boolean
Check if the animation is done
157 158 |
# File 'docs/4_Systems_005_Animation.rb', line 157 def done? end |
#duration ⇒ Float
Get the animation duration in seconds
161 162 |
# File 'docs/4_Systems_005_Animation.rb', line 161 def duration end |
#player=(player)
Set the player
165 166 |
# File 'docs/4_Systems_005_Animation.rb', line 165 def player=(player) end |
#resolver=(value)
Set the resolver
169 170 |
# File 'docs/4_Systems_005_Animation.rb', line 169 def resolver=(value) end |
#start(begin_offset = 0) ⇒ self
Start the animation
149 150 |
# File 'docs/4_Systems_005_Animation.rb', line 149 def start(begin_offset = 0) end |
#update ⇒ self
Update the animation
153 154 |
# File 'docs/4_Systems_005_Animation.rb', line 153 def update end |