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_symbolSymbol (readonly)

db_symbol of the worldmap

Returns:

  • (Symbol)


1066
1067
1068
# File 'docs/3_Studio.rb', line 1066

def db_symbol
  @db_symbol
end

#gridArray (readonly)

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

Returns:

  • (Array)


1072
1073
1074
# File 'docs/3_Studio.rb', line 1072

def grid
  @grid
end

#idInteger (readonly)

ID of the worldmap

Returns:

  • (Integer)


1063
1064
1065
# File 'docs/3_Studio.rb', line 1063

def id
  @id
end

#imageString (readonly)

Image filename of the worldmap

Returns:



1069
1070
1071
# File 'docs/3_Studio.rb', line 1069

def image
  @image
end

#region_nameCSVAccess (readonly)

Get the region name

Returns:



1075
1076
1077
# File 'docs/3_Studio.rb', line 1075

def region_name
  @region_name
end

Instance Method Details

#nameString

Name of the region

Returns:



1078
1079
# File 'docs/3_Studio.rb', line 1078

def name
end