AnimationFrame
class AnimationFrame
Class responsible for controlling frames of an animation.
public class AnimationFrame
— Constructors (2) —
| Constructor | Description |
|---|---|
| AnimationFrame() | Creates a new instance of the AnimationFrame. |
| AnimationFrame(int frameTime) | Creates a new AnimationFrame instance with the frame time defined to be the argument. |
— Methods (6) —
| Name | Description |
|---|---|
| int getFrameTime() | Returns the current frame time. |
| void setFrameTime(int value) | Sets the current frame time. |
| int getEntryCount() | Returns the current count of animation entrys. |
| [AnimationEntry] getEntryAt(int index) | Returns the current animation entry defined to be the argument via an index. |
| void addEntry([AnimationEntry] entry) | Adds a new animation entry. |
| void removeEntry([AnimationEntry] entry) | Remove an animation entry. |