public boolean isPointInMap(int x, int y) {
		for (int yMap = 0; yMap < getMap().length; ++yMap) {
			for (int xMap = 0; xMap < getMap()[yMap].length; ++xMap) {
				if (getMap()[yMap][xMap] < 22) {
					if (x >= xPos + (xMap - 1) * 64 && xPos + (xMap) * 64 < x
									&& y >= (yMap - 1) * 64 && (yMap) * 64 < y) {
						return true;
					}
				}
			}
		}

		return false;
	}