Class: Metro::ImplicitAnimation::AnimationStep

Inherits:
Object
  • Object
show all
Defined in:
lib/metro/animation/implicit_animation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actorObject

Returns the value of attribute actor.



68
69
70
# File 'lib/metro/animation/implicit_animation.rb', line 68

def actor
  @actor
end

#attributeObject

Returns the value of attribute attribute.



68
69
70
# File 'lib/metro/animation/implicit_animation.rb', line 68

def attribute
  @attribute
end

#deltasObject

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