@Override
    public void doAction() {
        //if (!marioObject.isPreformingSpecialMove() && !marioObject.isJump()) {
        if (marioObject.isLeft() && !marioObject.isRight()) {
            doLeft();
        } else if (marioObject.isRight() && !marioObject.isLeft()) {
            doRight();
        } else if (marioObject.getDirection() == Direction.LEFT) {
            setAnimationLeft();
        } else if (marioObject.getDirection() == Direction.RIGHT) {
            setAnimationRight();
        }

        //}
        doFall();
    }