Class: RPG::MoveRoute

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializeMoveRoute

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

#listObject

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

#repeatObject

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

#skippableObject

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

#waitObject

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