Class: RPG::MoveCommand

Inherits:
Object show all
Defined in:
scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = 0, parameters = []) ⇒ MoveCommand

Returns a new instance of MoveCommand.



169
170
171
172
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 169

def initialize(code = 0, parameters = [])
  @code = code
  @parameters = parameters
end

Instance Attribute Details

#code

Returns the value of attribute code.



173
174
175
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 173

def code
  @code
end

#parameters

Returns the value of attribute parameters.



174
175
176
# File 'scripts/00000 Dependencies/00001 LiteRGSS2/99999 RMXP_DATA.rb', line 174

def parameters
  @parameters
end