RPG::Event
Data class for map events.
Superclass
Referrer
Attributes
id
The event ID.
name
The event name.
x
The event's X-coordinate on the map.
y
The event's Y-coordinate on the map.
pages
The Events pages. An RPG::Event::Page array.
Inner Class
Definition
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
endLast updated