Added getter for @x and @y