Class: Teien::Animation::Operator
- Inherits:
-
Object
- Object
- Teien::Animation::Operator
- Defined in:
- lib/teien/animation/animation.rb
Instance Attribute Summary collapse
-
#loop ⇒ Object
Returns the value of attribute loop.
-
#name ⇒ Object
Returns the value of attribute name.
-
#speed ⇒ Object
Returns the value of attribute speed.
Instance Method Summary collapse
-
#initialize(name, speed, loop) ⇒ Operator
constructor
A new instance of Operator.
Constructor Details
#initialize(name, speed, loop) ⇒ Operator
Returns a new instance of Operator.
13 14 15 16 17 |
# File 'lib/teien/animation/animation.rb', line 13 def initialize(name, speed, loop) @name = name @speed = speed @loop = loop end |
Instance Attribute Details
#loop ⇒ Object
Returns the value of attribute loop.
11 12 13 |
# File 'lib/teien/animation/animation.rb', line 11 def loop @loop end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/teien/animation/animation.rb', line 9 def name @name end |
#speed ⇒ Object
Returns the value of attribute speed.
10 11 12 |
# File 'lib/teien/animation/animation.rb', line 10 def speed @speed end |