Class: RPG::Area
- Inherits:
-
Object
- Object
- RPG::Area
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb
Overview
Data class for areas.
Instance Attribute Summary collapse
-
#encounter_list ⇒ Object
Returns the value of attribute encounter_list.
-
#id ⇒ Object
Returns the value of attribute id.
-
#map_id ⇒ Object
Returns the value of attribute map_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#rect ⇒ Object
Returns the value of attribute rect.
Instance Method Summary collapse
-
#initialize ⇒ Area
constructor
A new instance of Area.
- #to_s ⇒ Object
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
Instance Attribute Details
#encounter_list ⇒ Object
Returns the value of attribute encounter_list.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def encounter_list @encounter_list end |
#id ⇒ Object
Returns the value of attribute id.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def id @id end |
#map_id ⇒ Object
Returns the value of attribute map_id.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def map_id @map_id end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def order @order end |
#rect ⇒ Object
Returns the value of attribute rect.
24 25 26 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 24 def rect @rect end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/area.rb', line 20 def to_s @name.to_s end |