Class: Teien::Event::Animation::SyncAnimation

Inherits:
Object
  • Object
show all
Defined in:
lib/teien/animation/animation_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#animationObject

Returns the value of attribute animation.



7
8
9
# File 'lib/teien/animation/animation_event.rb', line 7

def animation
  @animation
end

#object_nameObject

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