class RPG::CommonEvent
Attributes
id[RW]
list[RW]
name[RW]
switch_id[RW]
trigger[RW]
Public Class Methods
new()
click to toggle source
# File lib/rgss3/rpg.rb, line 338 def initialize @id = 0 @name = '' @trigger = 0 @switch_id = 1 @list = [RPG::EventCommand.new] end
Public Instance Methods
autorun?()
click to toggle source
# File lib/rgss3/rpg.rb, line 345 def autorun? @trigger == 1 end
parallel?()
click to toggle source
# File lib/rgss3/rpg.rb, line 348 def parallel? @trigger == 2 end