Class: Studio::Zone::MapCoordinate

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

Overview

Data class describing a map coordinate

Instance Attribute Summary collapse

Instance Attribute Details

#x ⇒ Integer (readonly)

Get the x position

Returns:

  • (Integer)


1316
1317
1318
# File 'docs/3_Studio.rb', line 1316

def x
  @x
end

#y ⇒ Integer (readonly)

Get the y position

Returns:

  • (Integer)


1319
1320
1321
# File 'docs/3_Studio.rb', line 1319

def y
  @y
end