Class: Studio::WorldMap

Inherits:
Object show all
Defined in:
scripts/00800 Studio/00001 Data/00081 WorldMap.rb

Overview

Data class describing a worldmap

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_symbolSymbol (readonly)

db_symbol of the worldmap

Returns:

  • (Symbol)


10
11
12
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 10

def db_symbol
  @db_symbol
end

#gridArray (readonly)

Grid of the worldmap (2D array of zone id)

Returns:

  • (Array)


18
19
20
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 18

def grid
  @grid
end

#idInteger (readonly)

ID of the worldmap

Returns:



6
7
8
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 6

def id
  @id
end

#imageString (readonly)

Image filename of the worldmap

Returns:



14
15
16
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 14

def image
  @image
end

#region_nameCSVAccess (readonly)

Get the region name

Returns:



22
23
24
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 22

def region_name
  @region_name
end

Instance Method Details

#nameString

Name of the region

Returns:



26
27
28
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 26

def name
  region_name.get
end