RPG::EventCommand

The data class for the Event command.

Superclass

Referrers

Attributes

code

The event code.

indent

The indent depth. Usually 0. The [Conditional Branch] command, among others, adds 1 with every step deeper.

parameters

An array containing the Event command's arguments. The contents vary for each command.

Definition

class RPG::EventCommand
  def initialize(code = 0, indent = 0, parameters = [])
    @code = code
    @indent = indent
    @parameters = parameters
  end
  attr_accessor :code
  attr_accessor :indent
  attr_accessor :parameters
end