FlixelTweenType
View sourceenum
org.flixelgdx.tween.settings.FlixelTweenType
Enum containing all different tween types that can determine the behavior of a tween.
Fields
ONESHOT
Stops and removes itself from the manager when it finishes.
PERSIST
Stops when finished but remains in the manager. Can be reused multiple times.
BACKWARD
Like FlixelTweenType.PERSIST but plays once in reverse; does not remove on finish.
LOOPING
Restarts immediately when it finishes. onComplete is called every cycle.
PINGPONG
Like FlixelTweenType.LOOPING but every second run is in reverse. onComplete is called every cycle.
Methods
values()
valueOf(String)
isLooping()
True for LOOPING and PINGPONG (tween restarts and may flip direction).
getLooping()
Returns true for LOOPING and PINGPONG tween types.
isBackward()
True if this type plays in reverse (initial direction for FlixelTweenType.BACKWARD). Toggled each cycle for FlixelTweenType.PINGPONG.
getBackward()
Returns true if this tween type plays in reverse.
removeOnFinish()
True only for FlixelTweenType.ONESHOT: tween is removed from the manager when it finishes.