private Animation createGrubAnim(Image img1, Image img2, Image img3, Image img4,
            Image img5, Image img6,Image img7, Image img8) {
        Animation anim = new Animation();
        anim.addFrame(img1, 150);
        anim.addFrame(img2, 150);
        anim.addFrame(img3, 150);
        anim.addFrame(img4, 150);
        anim.addFrame(img5, 150);
        anim.addFrame(img6, 150);
        anim.addFrame(img7, 150);
        anim.addFrame(img8, 150);
        return anim;
    }