Class: Teien::Event::Animation::SyncAnimation
- Inherits:
-
Object
- Object
- Teien::Event::Animation::SyncAnimation
- Defined in:
- lib/teien/animation/animation_event.rb
Instance Attribute Summary collapse
-
#animation ⇒ Object
Returns the value of attribute animation.
-
#object_name ⇒ Object
Returns the value of attribute object_name.
Instance Method Summary collapse
-
#initialize(object_name, animation) ⇒ SyncAnimation
constructor
A new instance of SyncAnimation.
Constructor Details
#initialize(object_name, animation) ⇒ SyncAnimation
Returns a new instance of SyncAnimation.
9 10 11 12 |
# File 'lib/teien/animation/animation_event.rb', line 9 def initialize(object_name, animation) @object_name = object_name @animation = animation end |
Instance Attribute Details
#animation ⇒ Object
Returns the value of attribute animation.
7 8 9 |
# File 'lib/teien/animation/animation_event.rb', line 7 def animation @animation end |
#object_name ⇒ Object
Returns the value of attribute object_name.
6 7 8 |
# File 'lib/teien/animation/animation_event.rb', line 6 def object_name @object_name end |