I don't know how to display the gif.image of my code.
1 | GifImage backgroundGif; |
1 | backgroundGif = null; |
1 2 | backgroundGif = new GifImage("World/Backgrounds/galaxy.gif");setBackground(backgroundGif.getCurrentImage()); |
1 | if (backgroundGif != null) setBackground(backgroundGif.getCurrentImage()); |
1 | public void act() |