public Sprite[][] convert(int xOffs, int yOffs, int w, int h) {
		int xTiles = (this.w - xOffs) / w;
		int yTiles = (this.h - yOffs) / h;
		
		Sprite[][] result = new Sprite[xTiles][yTiles];
		
		for(int y = 0; y < yTiles; y++) {
			for(int x = 0; x < xTiles; x++) { 
				result[x][y] = new Sprite(w, h);
				result[x][y].pixels = image.getRGB(xOffs + x * w, yOffs + y * h, w, h, null, 0, w);
			}
		}
		
		return result;
	}