private final int YtoTileY(int y) { return (int) Math.floor((double) (y - tileGridYOffset) / tileHeight); }
private final int XtoTileX(int x) { return (int) Math.floor((double) (x - tileGridXOffset) / tileWidth); }