private void doDown() {

        if (ducked) {
            marioObject.setHeight(tempHeight);
            marioObject.setY(marioObject.getY() + tempY);
            noMore = false;
        }

        switch (marioObject.getDirection()) {
            case LEFT:
                super.setAnimation(DuckLeft);
                break;
            case RIGHT:
                super.setAnimation(DuckRight);
                break;
        }
    }