Class: Studio::MapLink

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

Overview

Note:

This class has an id and a map_id, this leaves room to add conditional map links in the future ;)

Data class describing a map link

Defined Under Namespace

Classes: Link

Instance Attribute Summary collapse

Instance Attribute Details

#db_symbolSymbol (readonly)

db_symbol of the map link

Returns:

  • (Symbol)


1152
1153
1154
# File 'docs/3_Studio.rb', line 1152

def db_symbol
  @db_symbol
end

#east_mapsArray<Link> (readonly)

List of maps linked to the east cardinal of current map

Returns:



1161
1162
1163
# File 'docs/3_Studio.rb', line 1161

def east_maps
  @east_maps
end

#idInteger (readonly)

ID of the map link

Returns:

  • (Integer)


1149
1150
1151
# File 'docs/3_Studio.rb', line 1149

def id
  @id
end

#map_idInteger (readonly)

ID of the map player should be in to have this link

Returns:

  • (Integer)


1155
1156
1157
# File 'docs/3_Studio.rb', line 1155

def map_id
  @map_id
end

#north_mapsArray<Link> (readonly)

List of maps linked to the north cardinal of current map

Returns:



1158
1159
1160
# File 'docs/3_Studio.rb', line 1158

def north_maps
  @north_maps
end

#south_mapsArray<Link> (readonly)

List of maps linked to the south cardinal of current map

Returns:



1164
1165
1166
# File 'docs/3_Studio.rb', line 1164

def south_maps
  @south_maps
end

#west_mapsArray<Link> (readonly)

List of maps linked to the west cardinal of current map

Returns:



1167
1168
1169
# File 'docs/3_Studio.rb', line 1167

def west_maps
  @west_maps
end