private void doUp() {

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