Class: RPG::MoveRoute
- Inherits:
-
Object
- Object
- RPG::MoveRoute
- Defined in:
- lib/rpg/move_route.rb
Instance Attribute Summary collapse
-
#list ⇒ Object
Returns the value of attribute list.
-
#repeat ⇒ Object
Returns the value of attribute repeat.
-
#skippable ⇒ Object
Returns the value of attribute skippable.
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
-
#initialize ⇒ MoveRoute
constructor
A new instance of MoveRoute.
Constructor Details
#initialize ⇒ MoveRoute
Returns a new instance of MoveRoute.
3 4 5 6 7 8 |
# File 'lib/rpg/move_route.rb', line 3 def initialize @repeat = true @skippable = false @wait = false @list = [RPG::MoveCommand.new] end |
Instance Attribute Details
#list ⇒ Object
Returns the value of attribute list.
12 13 14 |
# File 'lib/rpg/move_route.rb', line 12 def list @list end |
#repeat ⇒ Object
Returns the value of attribute repeat.
9 10 11 |
# File 'lib/rpg/move_route.rb', line 9 def repeat @repeat end |
#skippable ⇒ Object
Returns the value of attribute skippable.
10 11 12 |
# File 'lib/rpg/move_route.rb', line 10 def skippable @skippable end |
#wait ⇒ Object
Returns the value of attribute wait.
11 12 13 |
# File 'lib/rpg/move_route.rb', line 11 def wait @wait end |