public void quickClear(Space center) {
        if (center.getState() == State.REVEALED && !center.isMine()) {
            int nearFlags = 0;
            List<Space> adjacent = center.getAllAdjecentSpaces(this);
            for (Space s : adjacent) {
                if (s.getState() == State.FLAGGED) {
                    nearFlags++;
                }
                if (s.getState() == State.QUESTIONED) {
                    return;
                }
            }
            if (nearFlags == ((Empty) center).getNumber()) {
                for (Space s : adjacent) {
                    if (s.getState() == State.COVERED && !parent.isLost()) {
                        singleClear(s);
                    }
                }
            }
        }
    }