The data class for map information.
The map name.
The parent map ID.
The map tree display order, which is used internally.
The map tree expansion flag, which is used internally.
The x-axis scroll position, which is used internally.
The y-axis scroll position, which is used internally.
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