FlipBook
An animation consisting of a number of still-images. By quickly viewing each of the still-images in sequence an animation appears. The duration of each page is not constant (i.e. on FlipBookPage can be visible longer than others).
Events can be fired. onFinished is fired when the entire flip-book animation is complete. (this will never happen if repeat == true
). When each FlipBookPage is finished, FlipBookPage.onPageFinished is fired.
NOTE. This is a mutable class. However, FlipBookAnimation makes COPIES when it is created. So any changes we make to a FlipBook do NOT affect pre-existing FlipBookAnimations.
Properties
How many times does this animation repeat? The default value is Int.MAX_VALUE, which is practically repeating forever.
Functions
Pose and Graphic return themselves. NinePatch returns a NinePatchAppearance.
Creates an Appearance with the same tint. Also, if the new appearances is StretchableAppearance then it will have the same bounds as the previous appearance.
Set the actor's appearance.
Syntactic sugar for adding a FlipBookPage to a FlipBook.