| Package | Description |
|---|---|
| com.badlogic.gdx.graphics.g2d |
| Modifier and Type | Method and Description |
|---|---|
Animation.PlayMode |
Animation.getPlayMode()
Returns the animation play mode.
|
static Animation.PlayMode |
Animation.PlayMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Animation.PlayMode[] |
Animation.PlayMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Animation.setPlayMode(Animation.PlayMode playMode)
Sets the animation play mode.
|
| Constructor and Description |
|---|
Animation(float frameDuration,
Array<? extends T> keyFrames,
Animation.PlayMode playMode)
Constructor, storing the frame duration and key frames.
|