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_id ⇒ Integer (readonly)

ID of the map linked to current map

Returns:

  • (Integer)


1351
1352
1353
# File 'docs/3_Studio.rb', line 1351

def map_id
  @map_id
end

#offset ⇒ Integer (readonly)

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

Returns:

  • (Integer)


1354
1355
1356
# File 'docs/3_Studio.rb', line 1354

def offset
  @offset
end