Class: RPG::MoveCommand
- Inherits:
-
Object
- Object
- RPG::MoveCommand
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/move_command.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/move_command.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/move_command.rb
Overview
The data class for the Move command.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
Instance Method Summary collapse
-
#initialize(code = 0, parameters = []) ⇒ MoveCommand
constructor
A new instance of MoveCommand.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize(code = 0, parameters = []) ⇒ MoveCommand
Returns a new instance of MoveCommand.
11 12 13 14 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_command.rb', line 11 def initialize(code = 0, parameters = []) @code = code @parameters = parameters end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
16 17 18 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_command.rb', line 16 def code @code end |
#parameters ⇒ Object
Returns the value of attribute parameters.
16 17 18 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/move_command.rb', line 16 def parameters @parameters end |