Method: GameObject#x

Defined in:
lib/entities/gameobject.rb

#xObject (readonly)

Returns the value of attribute x.



7
8
9
# File 'lib/entities/gameobject.rb', line 7

def x
  @x
end