private void checkCollision(double x, double y) {
		int leftTile = (int) getBounds(x, y).getMinX() >> 4;
		int rightTile = (int) (getBounds(x, y).getMaxX() - 1) >> 4;
		int topTile = (int) getBounds(x, y).getMinY() >> 4;
		int bottomTile = (int) (getBounds(x, y).getMaxY() - 1) >> 4;

		topLeft = level.getTile(leftTile, topTile).isSolid();
		topRight = level.getTile(rightTile, topTile).isSolid();
		bottomLeft = level.getTile(leftTile, bottomTile).isSolid();
		bottomRight = level.getTile(rightTile, bottomTile).isSolid();
	}