Class: RPG::MoveRoute
- Inherits:
-
Object
- Object
- RPG::MoveRoute
- Defined in:
- lib/rpg/move_route.rb
Instance Attribute Summary (collapse)
-
- (Object) list
Returns the value of attribute list.
-
- (Object) repeat
Returns the value of attribute repeat.
-
- (Object) skippable
Returns the value of attribute skippable.
-
- (Object) wait
Returns the value of attribute wait.
Instance Method Summary (collapse)
-
- (MoveRoute) initialize
constructor
A new instance of MoveRoute.
Constructor Details
- (MoveRoute) initialize
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
- (Object) list
Returns the value of attribute list
12 13 14 |
# File 'lib/rpg/move_route.rb', line 12 def list @list end |
- (Object) repeat
Returns the value of attribute repeat
9 10 11 |
# File 'lib/rpg/move_route.rb', line 9 def repeat @repeat end |
- (Object) skippable
Returns the value of attribute skippable
10 11 12 |
# File 'lib/rpg/move_route.rb', line 10 def skippable @skippable end |
- (Object) wait
Returns the value of attribute wait
11 12 13 |
# File 'lib/rpg/move_route.rb', line 11 def wait @wait end |