RPG::CommonEvent
Data class for common events.
Superclass
Attributes
id
The event ID.
name
The event name.
trigger
The event trigger (0: none, 1: autorun; 2: parallel).
switch_id
The condition switch ID.
list
List of event commands. An RPG::EventCommand array.
Definition
module RPG
class CommonEvent
def initialize
@id = 0
@name = ""
@trigger = 0
@switch_id = 1
@list = [RPG::EventCommand.new]
end
attr_accessor :id
attr_accessor :name
attr_accessor :trigger
attr_accessor :switch_id
attr_accessor :list
end
end
Last updated