Class: RPG::MapInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMapInfo

Returns a new instance of MapInfo.



474
475
476
477
478
479
480
481
# File 'lib/R3EXS/RGSS3.rb', line 474

def initialize
    @name      = ''
    @parent_id = 0
    @order     = 0
    @expanded  = false
    @scroll_x  = 0
    @scroll_y  = 0
end

Instance Attribute Details

#expandedObject

Returns the value of attribute expanded.



486
487
488
# File 'lib/R3EXS/RGSS3.rb', line 486

def expanded
  @expanded
end

#nameObject

Returns the value of attribute name.



483
484
485
# File 'lib/R3EXS/RGSS3.rb', line 483

def name
  @name
end

#orderObject

Returns the value of attribute order.



485
486
487
# File 'lib/R3EXS/RGSS3.rb', line 485

def order
  @order
end

#parent_idObject

Returns the value of attribute parent_id.



484
485
486
# File 'lib/R3EXS/RGSS3.rb', line 484

def parent_id
  @parent_id
end

#scroll_xObject

Returns the value of attribute scroll_x.



487
488
489
# File 'lib/R3EXS/RGSS3.rb', line 487

def scroll_x
  @scroll_x
end

#scroll_yObject

Returns the value of attribute scroll_y.



488
489
490
# File 'lib/R3EXS/RGSS3.rb', line 488

def scroll_y
  @scroll_y
end