public static int[] getPixelsInSection(int x, int y, int x2, int y2) {
		int size = (x2 - x) * (y2 - y);
		if(size < 0)
			return new int[0];
		int[] temp = new int[size];
		int count = 0;
		for(int yy = y; yy < y2; yy++) {
			for(int xx = x; xx < x2; xx++) {
				if(xx >= Bot.WIDTH || yy >= Bot.HEIGHT) {
					temp[count++] = 0;
				} else { 
					temp[count++] = getPixel(xx, yy);
				}
			}
		}
		return temp;
	}