The data class for map events.
The event ID.
The event name.
The event's x-coordinate on the map.
The event's y-coordinate on the map.
The event pages. RPG::Event::Page array.
class RPG::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