RPG::MapInfo
Data class for map information.
Superclass
Attributes
name
The map name.
parent_id
The parent map ID.
order
The map tree display order, used internally.
expanded
The map tree expansion flag, used internally.
scroll_x
The X-axis scroll position, used internally.
scroll_y
The Y-axis scroll position, used internally.
Definition
module RPG
class 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
end
Last updated