Class FloatTween
java.lang.Object
top.untold.frostlumen.core.tween.Tween
top.untold.frostlumen.core.tween.NumberTween
top.untold.frostlumen.core.tween.FloatTween
-
Field Summary
Fields inherited from class Tween
alwaysRepeat, onCompleteCallbackList, onUpdateCallbackList, playing, remainingRepeatCount, removeOnComplete -
Constructor Summary
ConstructorsConstructorDescriptionFloatTween(float startValue, float endValue, long time, TweenFunction function, boolean removeOnComplete) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyEased(double eased) voidbindSetter(it.unimi.dsi.fastutil.floats.FloatConsumer consumer) floatprotected 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
-
FloatTween
public FloatTween(float startValue, float 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
public void bindSetter(it.unimi.dsi.fastutil.floats.FloatConsumer consumer) -
getCurrentValue
public float getCurrentValue()
-