Modifier and Type | Field and Description |
---|---|
Animation |
Sprite.animation |
Modifier and Type | Method and Description |
---|---|
Animation |
Animation.clone() |
static Animation |
Animation.load(java.lang.String imageFileName,
int rows,
int cols,
double frameDuration,
boolean loop)
Create an animation object from a sprite sheet.
|
Modifier and Type | Method and Description |
---|---|
void |
Sprite.setAnimation(Animation anim)
Set the animation to be used by this Sprite.
|