@SuppressWarnings("unused")
	private boolean hasCollided(double xa, double ya) {
		int xMin = 0, yMin = 0, xMax = sprite.w + 12, yMax = sprite.h;

		for (int y = yMin; y < yMax; y++) {
			if (isSolidTile(new Vector(xMin, y), new Vector((float) xa, (float) ya))) {
				return true;
			}
		}
		for (int y = yMin; y < yMax; y++) {
			if (isSolidTile(new Vector(xMax, y), new Vector((float) xa, (float) ya))) {
				return true;
			}
		}
		for (int x = xMin; x < xMax; x++) {
			if (isSolidTile(new Vector(x, yMin), new Vector((float) xa, (float) ya))) {
				return true;
			}
		}
		for (int x = xMin; x < xMax; x++) {
			if (isSolidTile(new Vector(x, yMax), new Vector((float) xa, (float) ya))) {
				return true;
			}
		}
		return false;
	}