@Override
    /**
     * This function has to apply some change to colorArr Color c is curColor in
     * GridPanel
     */
    public ArrayList<Delta> apply(Color c, int x, int y, Color[][] colorArr) {
        dMap = new ArrayList<>();
        this.colorArr = colorArr;
        q = new LinkedList<>();
        q.push(new Point(x, y));
        while (!q.isEmpty()) {
            bucketHelper(c);
        }
        return dMap;
    }