Method: MiniGL::Block#x

Defined in:
lib/minigl/movement.rb

#xObject (readonly)

The x-coordinate of the top left corner of the bounding box.



9
10
11
# File 'lib/minigl/movement.rb', line 9

def x
  @x
end