| Package | Description |
|---|---|
| com.almasb.fxgl.texture |
| Modifier and Type | Method and Description |
|---|---|
AnimationChannel |
AnimatedTexture.getCurrentChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
AnimatedTexture.setAnimationChannel(AnimationChannel channel)
Set animation channel.
|
void |
AnimatedTexture.setAnimationChannel(AnimationChannel channel,
Runnable onAnimationEnd)
Set animation channel with a callback to run when the channel ends.
|
AnimatedTexture |
Texture.toAnimatedTexture(AnimationChannel defaultChannel)
Converts the texture to animated texture.
|
Copyright © 2017. All rights reserved.