Class: RPG::MoveCommand
- Inherits:
-
Object
- Object
- RPG::MoveCommand
- Defined in:
- lib/rgss3/rpg.rb
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.
Constructor Details
#initialize(code = 0, parameters = []) ⇒ MoveCommand
Returns a new instance of MoveCommand.
328 329 330 331 |
# File 'lib/rgss3/rpg.rb', line 328 def initialize(code = 0, parameters = []) @code = code @parameters = parameters end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
332 333 334 |
# File 'lib/rgss3/rpg.rb', line 332 def code @code end |
#parameters ⇒ Object
Returns the value of attribute parameters.
333 334 335 |
# File 'lib/rgss3/rpg.rb', line 333 def parameters @parameters end |