Class: RPG::EventCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EventCommand.



588
589
590
591
592
# File 'lib/R3EXS/RGSS3.rb', line 588

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.



594
595
596
# File 'lib/R3EXS/RGSS3.rb', line 594

def code
  @code
end

#indentObject

Returns the value of attribute indent.



595
596
597
# File 'lib/R3EXS/RGSS3.rb', line 595

def indent
  @indent
end

#parametersObject

Returns the value of attribute parameters.



596
597
598
# File 'lib/R3EXS/RGSS3.rb', line 596

def parameters
  @parameters
end