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(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 TextureRegion> keyFrames,
Animation.PlayMode playMode)
Constructor, storing the frame duration, key frames and play type.
|
Copyright © 2015. All rights reserved.