public void checkforbubble() {
        if (bubble == 1) {
            setImage(bubble1);
        }
        else if (bubble == 2) {
            setImage(bubble2);
        }
        else if (bubble == 3) {
            setImage(enemylist);
        }
        else if (bubble == 4) {
            setImage(enemylist2);
        }
        else if (bubble == 5) {
            setImage(objectslist);
        }
        else if (bubble == 6) {
            getWorld().addObject(new rockcounter(), 60, 100);
            getWorld().addObject(new rocksleft(), 70, 20);
            getWorld().addObject(new rocksleftcount(), 155, 20);
            getWorld().addObject(new score(), 670, 20);
            getWorld().addObject(new scorecounter(), 720, 20);
            getWorld().addObject(new health(), 370, 20);
            getWorld().addObject(new display(), 435, 20);
            getWorld().addObject(new Dolphin(), 400, 300);
            getWorld().addObject(new Eel(), 720, 250);
            world dolphinworld = (world) getWorld();
            maingame++; // sets variable up, so that the enemys won't respawn at the end of the map
            bevorestart.stop();
            dolphinworld.musicplay(); // starts the mainmusic
            getWorld().removeObjects(getWorld().getObjects(turtle.class));
        }
    }