Class: RPG::EventCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EventCommand.



304
305
306
307
308
# File 'lib/rgss3/rpg.rb', line 304

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.



309
310
311
# File 'lib/rgss3/rpg.rb', line 309

def code
  @code
end

#indentObject

Returns the value of attribute indent.



310
311
312
# File 'lib/rgss3/rpg.rb', line 310

def indent
  @indent
end

#parametersObject

Returns the value of attribute parameters.



311
312
313
# File 'lib/rgss3/rpg.rb', line 311

def parameters
  @parameters
end