Class IntTween
java.lang.Object
top.untold.frostlumen.core.tween.Tween
top.untold.frostlumen.core.tween.NumberTween
top.untold.frostlumen.core.tween.IntTween
-
Field Summary
Fields inherited from class Tween
alwaysRepeat, onCompleteCallbackList, onUpdateCallbackList, playing, remainingRepeatCount, removeOnComplete -
Constructor Summary
ConstructorsConstructorDescriptionIntTween(int startValue, int endValue, long time, TweenFunction function, boolean removeOnComplete) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyEased(double eased) voidbindSetter(IntConsumer consumer) intprotected voidMethods inherited from class NumberTween
isCompleted, reset, stepTweenMethods inherited from class Tween
getRemainingRepeatCount, isAlwaysRepeat, isPlaying, isRemoveOnComplete, onComplete, onUpdate, pause, pauseTween, play, removeOnComplete, removeOnUpdate, resume, resumeTween, setAlwaysRepeat, setRemainingRepeatCount, step, triggerOnCompleteCallback, triggerOnUpdateCallback
-
Constructor Details
-
IntTween
public IntTween(int startValue, int endValue, long time, TweenFunction function, boolean removeOnComplete)
-
-
Method Details
-
resetTween
protected void resetTween()- Specified by:
resetTweenin classTween
-
applyEased
protected void applyEased(double eased) - Specified by:
applyEasedin classNumberTween
-
bindSetter
-
getCurrentValue
public int getCurrentValue()
-