Class: Studio::MapLink::Link

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


1147
1148
1149
# File 'docs/00800_Studio.rb', line 1147

def map_id
  @map_id
end

#offsetInteger (readonly)

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

Returns:

  • (Integer)


1150
1151
1152
# File 'docs/00800_Studio.rb', line 1150

def offset
  @offset
end