Class: Studio::WorldMap
- Defined in:
- scripts/00800 Studio/00001 Data/00081 WorldMap.rb
Overview
Data class describing a worldmap
Instance Attribute Summary collapse
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the worldmap.
-
#grid ⇒ Array
readonly
Grid of the worldmap (2D array of zone id).
-
#id ⇒ Integer
readonly
ID of the worldmap.
-
#image ⇒ String
readonly
Image filename of the worldmap.
-
#region_name ⇒ CSVAccess
readonly
Get the region name.
Instance Method Summary collapse
-
#name ⇒ String
Name of the region.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the worldmap
10 11 12 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 10 def db_symbol @db_symbol end |
#grid ⇒ Array (readonly)
Grid of the worldmap (2D array of zone id)
18 19 20 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 18 def grid @grid end |
#id ⇒ Integer (readonly)
ID of the worldmap
6 7 8 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 6 def id @id end |
#image ⇒ String (readonly)
Image filename of the worldmap
14 15 16 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 14 def image @image end |
#region_name ⇒ CSVAccess (readonly)
Get the region name
22 23 24 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 22 def region_name @region_name end |
Instance Method Details
#name ⇒ String
Name of the region
26 27 28 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 26 def name region_name.get end |