Class: RPG::MapInfo
- Inherits:
-
Object
- Object
- RPG::MapInfo
- Defined in:
- lib/rgss3/rpg.rb
Instance Attribute Summary collapse
-
#expanded ⇒ Object
Returns the value of attribute expanded.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#scroll_x ⇒ Object
Returns the value of attribute scroll_x.
-
#scroll_y ⇒ Object
Returns the value of attribute scroll_y.
Instance Method Summary collapse
-
#initialize ⇒ MapInfo
constructor
A new instance of MapInfo.
Constructor Details
#initialize ⇒ MapInfo
Returns a new instance of MapInfo.
190 191 192 193 194 195 196 197 |
# File 'lib/rgss3/rpg.rb', line 190 def initialize @name = '' @parent_id = 0 @order = 0 @expanded = false @scroll_x = 0 @scroll_y = 0 end |
Instance Attribute Details
#expanded ⇒ Object
Returns the value of attribute expanded.
201 202 203 |
# File 'lib/rgss3/rpg.rb', line 201 def @expanded end |
#name ⇒ Object
Returns the value of attribute name.
198 199 200 |
# File 'lib/rgss3/rpg.rb', line 198 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
200 201 202 |
# File 'lib/rgss3/rpg.rb', line 200 def order @order end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
199 200 201 |
# File 'lib/rgss3/rpg.rb', line 199 def parent_id @parent_id end |
#scroll_x ⇒ Object
Returns the value of attribute scroll_x.
202 203 204 |
# File 'lib/rgss3/rpg.rb', line 202 def scroll_x @scroll_x end |
#scroll_y ⇒ Object
Returns the value of attribute scroll_y.
203 204 205 |
# File 'lib/rgss3/rpg.rb', line 203 def scroll_y @scroll_y end |