|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dishevelled.piccolo.sprite.SingleFrameAnimation
public final class SingleFrameAnimation
Single frame animation.
| Constructor Summary | |
|---|---|
SingleFrameAnimation(Image currentFrame)
Create a new single frame animation with the specified current frame. |
|
| Method Summary | |
|---|---|
boolean |
advance()
Advance this animation one frame. |
Image |
getCurrentFrame()
Return the current frame for this animation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleFrameAnimation(Image currentFrame)
currentFrame - current frame, must not be null| Method Detail |
|---|
public boolean advance()
advance in interface Animationpublic Image getCurrentFrame()
getCurrentFrame in interface Animation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||