Class: RubyGame::Monster::Action
- Inherits:
-
Struct
- Object
- Struct
- RubyGame::Monster::Action
- Defined in:
- lib/ruby_game/monster.rb
Instance Attribute Summary collapse
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#velocity ⇒ Object
Returns the value of attribute velocity.
Instance Attribute Details
#direction ⇒ Object
Returns the value of attribute direction
5 6 7 |
# File 'lib/ruby_game/monster.rb', line 5 def direction @direction end |
#velocity ⇒ Object
Returns the value of attribute velocity
5 6 7 |
# File 'lib/ruby_game/monster.rb', line 5 def velocity @velocity end |