Class: Studio::WorldMap

Inherits:
Object show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing a worldmap

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_symbol ⇒ Symbol (readonly)

db_symbol of the worldmap

Returns:

  • (Symbol)


1245
1246
1247
# File 'docs/3_Studio.rb', line 1245

def db_symbol
  @db_symbol
end

#grid ⇒ Array (readonly)

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

Returns:

  • (Array)


1251
1252
1253
# File 'docs/3_Studio.rb', line 1251

def grid
  @grid
end

#id ⇒ Integer (readonly)

ID of the worldmap

Returns:

  • (Integer)


1242
1243
1244
# File 'docs/3_Studio.rb', line 1242

def id
  @id
end

#image ⇒ String (readonly)

Image filename of the worldmap

Returns:



1248
1249
1250
# File 'docs/3_Studio.rb', line 1248

def image
  @image
end

#region_name ⇒ CSVAccess (readonly)

Get the region name

Returns:



1254
1255
1256
# File 'docs/3_Studio.rb', line 1254

def region_name
  @region_name
end

Instance Method Details

#name ⇒ String

Name of the region

Returns:



1257
1258
# File 'docs/3_Studio.rb', line 1257

def name
end