Class: RPG::MoveRoute
- Inherits:
-
Object
- Object
- RPG::MoveRoute
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/move_route.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/move_route.rb
Overview
The data class for the Move route.
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.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ MoveRoute
Returns a new instance of MoveRoute.
11 12 13 14 15 16 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb', line 11 def initialize @repeat = true @skippable = false @wait = false @list = [RPG::MoveCommand.new] end |
Instance Attribute Details
#list ⇒ Object
Returns the value of attribute list.
18 19 20 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb', line 18 def list @list end |
#repeat ⇒ Object
Returns the value of attribute repeat.
18 19 20 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb', line 18 def repeat @repeat end |
#skippable ⇒ Object
Returns the value of attribute skippable.
18 19 20 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb', line 18 def skippable @skippable end |
#wait ⇒ Object
Returns the value of attribute wait.
18 19 20 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_route.rb', line 18 def wait @wait end |