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

#xInteger (readonly)

Get the x position

Returns:

  • (Integer)


1137
1138
1139
# File 'docs/3_Studio.rb', line 1137

def x
  @x
end

#yInteger (readonly)

Get the y position

Returns:

  • (Integer)


1140
1141
1142
# File 'docs/3_Studio.rb', line 1140

def y
  @y
end