@Override
    public void clearCheck() {
        boolean doStatesMatch = true;
        for (ClickableObject o : super.getObjectList()) {
            StaticObject so = null;
            try {
                so = (StaticObject) o;
            } catch (Exception e) {
            }
            if (so != null) {
                if (!(correctStates.get(o) == so.getState())) {
                    doStatesMatch = false;
                }
                }
            }
        if (doStatesMatch) {
            super.setCleared(true);
        }
        }