file: AnimatedTexture.aus

class: AnimatedTexture

[21:7] extends: Texture

Wraps FXGL's AnimatedTexture (com.almasb.fxgl.texture.AnimatedTexture), the Texture subclass that drives a sprite-sheet animation through one or more AnimationChannels. Constructed from a default AnimationChannel; additional channels can be swapped in at runtime via playAnimationChannel / loopAnimationChannel for WALK / IDLE / ATTACK transitions. AnimatedTexture extends Texture, so every Texture method is still available — add the wrapper's .obj to a scene like any other Texture.

Methods