public class GifImage
extends java.lang.Object
Constructor and Description |
---|
GifImage(java.lang.String file)
Set the image of the actor.
|
Modifier and Type | Method and Description |
---|---|
greenfoot.GreenfootImage |
getCurrentImage() |
java.util.List<greenfoot.GreenfootImage> |
getImages()
Get all the images used in the animation
|
boolean |
isRunning()
Determines whether the animation is running
|
void |
pause()
Pause the animation.
|
void |
resume()
Resume the animation.
|
public GifImage(java.lang.String file)
public java.util.List<greenfoot.GreenfootImage> getImages()
public void pause()
public void resume()
public boolean isRunning()
public greenfoot.GreenfootImage getCurrentImage()