need to fix getX of the tileArray in the player class