Class: Studio::MapLink::Link

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

Overview

Class describing how map is linked to current map with its offset and its id

Instance Attribute Summary collapse

Instance Attribute Details

#map_idInteger (readonly)

ID of the map linked to current map

Returns:

  • (Integer)


1172
1173
1174
# File 'docs/3_Studio.rb', line 1172

def map_id
  @map_id
end

#offsetInteger (readonly)

Offset to the right or bottom depending on which cardinal the map is

Returns:

  • (Integer)


1175
1176
1177
# File 'docs/3_Studio.rb', line 1175

def offset
  @offset
end