public void fill(int i, int x, int y) {
		int orig = texture.getRGB(x, y);
		if(x < texture.getWidth() && y < texture.getHeight() && x >= 0 && y >= 0) {
			this.spread(i, orig, x, y);
		}
		this.repaint();
	}