I want to make it so that my world image is a gif but I have no idea how to do so, I have tried adding in this
but it says "cannot find symbol- class GifImage" on both "GifImage"s on this line in particular
What am I doing wrong here?
GifImage gifImg = new GifImage("giphy.gif");
public void gifAnimation()
{
setBackground(gifImg.getCurrentImage());
}
public void act()
{
gifAnimation();
}
GifImage gifImg = new GifImage("giphy.gif");

