Class: Metro::ImplicitAnimation::AnimationStep
- Inherits:
-
Object
- Object
- Metro::ImplicitAnimation::AnimationStep
- Defined in:
- lib/metro/animation/implicit_animation.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#deltas ⇒ Object
Returns the value of attribute deltas.
Instance Method Summary collapse
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
68 69 70 |
# File 'lib/metro/animation/implicit_animation.rb', line 68 def actor @actor end |
#attribute ⇒ Object
Returns the value of attribute attribute.
68 69 70 |
# File 'lib/metro/animation/implicit_animation.rb', line 68 def attribute @attribute end |
#deltas ⇒ Object
Returns the value of attribute deltas.
68 69 70 |
# File 'lib/metro/animation/implicit_animation.rb', line 68 def deltas @deltas end |
Instance Method Details
#execute_step(step) ⇒ Object
70 71 72 |
# File 'lib/metro/animation/implicit_animation.rb', line 70 def execute_step(step) actor.set(attribute,deltas.at(step)) end |