public void animation() {
        animationt--;
        if (animationt >= 45) {
            setImage(swordfish1);
        }
        else if (animationt < 45 && animationt >= 30) {
            setImage(swordfish2);
        }
        else if (animationt < 30 && animationt >= 15) {
            setImage(swordfish1);
        }
        else if (animationt < 15 && animationt >= 0) {
            setImage(swordfish3);
        }
        else if (animationt <= 0) {
            animationt = 60;
        }
        else {
            setImage(swordfish1);
        }
    }