RPG::MapInfo

The data class for map information.

Superclass

Attributes

name

The map name.

parent_id

The parent map ID.

order

The map tree display order, which is used internally.

expanded

The map tree expansion flag, which is used internally.

scroll_x

The x-axis scroll position, which is used internally.

scroll_y

The y-axis scroll position, which is used internally.

Definition

class RPG::MapInfo
  def initialize
    @name = ''
    @parent_id = 0
    @order = 0
    @expanded = false
    @scroll_x = 0
    @scroll_y = 0
  end
  attr_accessor :name
  attr_accessor :parent_id
  attr_accessor :order
  attr_accessor :expanded
  attr_accessor :scroll_x
  attr_accessor :scroll_y
end