Class: Studio::MapLink
Overview
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
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the map link.
-
#east_maps ⇒ Array<Link>
readonly
List of maps linked to the east cardinal of current map.
-
#id ⇒ Integer
readonly
ID of the map link.
-
#map_id ⇒ Integer
readonly
ID of the map player should be in to have this link.
-
#north_maps ⇒ Array<Link>
readonly
List of maps linked to the north cardinal of current map.
-
#south_maps ⇒ Array<Link>
readonly
List of maps linked to the south cardinal of current map.
-
#west_maps ⇒ Array<Link>
readonly
List of maps linked to the west cardinal of current map.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the map link
1152 1153 1154 |
# File 'docs/3_Studio.rb', line 1152 def db_symbol @db_symbol end |
#east_maps ⇒ Array<Link> (readonly)
List of maps linked to the east cardinal of current map
1161 1162 1163 |
# File 'docs/3_Studio.rb', line 1161 def east_maps @east_maps end |
#id ⇒ Integer (readonly)
ID of the map link
1149 1150 1151 |
# File 'docs/3_Studio.rb', line 1149 def id @id end |
#map_id ⇒ Integer (readonly)
ID of the map player should be in to have this link
1155 1156 1157 |
# File 'docs/3_Studio.rb', line 1155 def map_id @map_id end |
#north_maps ⇒ Array<Link> (readonly)
List of maps linked to the north cardinal of current map
1158 1159 1160 |
# File 'docs/3_Studio.rb', line 1158 def north_maps @north_maps end |
#south_maps ⇒ Array<Link> (readonly)
List of maps linked to the south cardinal of current map
1164 1165 1166 |
# File 'docs/3_Studio.rb', line 1164 def south_maps @south_maps end |
#west_maps ⇒ Array<Link> (readonly)
List of maps linked to the west cardinal of current map
1167 1168 1169 |
# File 'docs/3_Studio.rb', line 1167 def west_maps @west_maps end |