Fixed getX() and getY() in Tile.java to getxPos(), to avoid conflicting with the superclass of Tile.java