Class: Studio::WorldMap

Inherits:
Object show all
Defined in:
docs/00800_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)


1041
1042
1043
# File 'docs/00800_Studio.rb', line 1041

def db_symbol
  @db_symbol
end

#gridArray (readonly)

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

Returns:

  • (Array)


1047
1048
1049
# File 'docs/00800_Studio.rb', line 1047

def grid
  @grid
end

#idInteger (readonly)

ID of the worldmap

Returns:

  • (Integer)


1038
1039
1040
# File 'docs/00800_Studio.rb', line 1038

def id
  @id
end

#imageString (readonly)

Image filename of the worldmap

Returns:



1044
1045
1046
# File 'docs/00800_Studio.rb', line 1044

def image
  @image
end

#region_nameCSVAccess (readonly)

Get the region name

Returns:



1050
1051
1052
# File 'docs/00800_Studio.rb', line 1050

def region_name
  @region_name
end

Instance Method Details

#nameString

Name of the region

Returns:



1053
1054
# File 'docs/00800_Studio.rb', line 1053

def name
end