The event ID.
The event name.
The event's X-coordinate on the map.
The event's Y-coordinate on the map.
The Events pages. An RPG::Event::Page array.
module RPG
class Event
def initialize(x, y)
@id = 0
@name = ""
@x = x
@y = y
@pages = [RPG::Event::Page.new]
end
attr_accessor :id
attr_accessor :name
attr_accessor :x
attr_accessor :y
attr_accessor :pages
end
end