Class: RPG::MoveRoute

Inherits:
Object
  • Object
show all
Defined in:
lib/rpg/move_route.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMoveRoute

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

#listObject

Returns the value of attribute list.



12
13
14
# File 'lib/rpg/move_route.rb', line 12

def list
  @list
end

#repeatObject

Returns the value of attribute repeat.



9
10
11
# File 'lib/rpg/move_route.rb', line 9

def repeat
  @repeat
end

#skippableObject

Returns the value of attribute skippable.



10
11
12
# File 'lib/rpg/move_route.rb', line 10

def skippable
  @skippable
end

#waitObject

Returns the value of attribute wait.



11
12
13
# File 'lib/rpg/move_route.rb', line 11

def wait
  @wait
end