public boolean isAir(int x, int y) {

		if(x >= mapXRows || y >= mapYRows || x < 0 || y < 0){
			System.out.println("coords " + x +" " + y + " did not exist");
			return false;
		}

		if(map[y][x] == 0)
			return true;	

		return false;
	}