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.



496
497
498
499
500
501
502
503
# File 'lib/R3EXS/RGSS3.rb', line 496

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.



508
509
510
# File 'lib/R3EXS/RGSS3.rb', line 508

def expanded
  @expanded
end

#nameObject

Returns the value of attribute name.



505
506
507
# File 'lib/R3EXS/RGSS3.rb', line 505

def name
  @name
end

#orderObject

Returns the value of attribute order.



507
508
509
# File 'lib/R3EXS/RGSS3.rb', line 507

def order
  @order
end

#parent_idObject

Returns the value of attribute parent_id.



506
507
508
# File 'lib/R3EXS/RGSS3.rb', line 506

def parent_id
  @parent_id
end

#scroll_xObject

Returns the value of attribute scroll_x.



509
510
511
# File 'lib/R3EXS/RGSS3.rb', line 509

def scroll_x
  @scroll_x
end

#scroll_yObject

Returns the value of attribute scroll_y.



510
511
512
# File 'lib/R3EXS/RGSS3.rb', line 510

def scroll_y
  @scroll_y
end