@Override
    public void doAction() {
        super.setAnimation(death);
        sound.playSound("/sound/dead.wav");
        if (heightTeller < 20) {
            marioObject.setY(marioObject.getY() - WALKSPEED, true);
            heightTeller++;
        }
        else if (heightTeller > 130)
        {       
            marioObject.setY(marioObject.getY() + WALKSPEED, true);
            marioObject.setHeight(60);
            heightTeller++;
        }
        else
        {
            heightTeller++;
        }
        //System.out.println(heightTeller);
    }