Class TransitionedFloatProperty
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<Float>
dev.prozilla.pine.common.property.animated.AnimatedFloatProperty
dev.prozilla.pine.common.property.animated.transitioned.TransitionedFloatProperty
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<Float>,TransitionedProperty<Float>,FloatProperty,NonNullProperty<Float>,Property<Float>,Functor<Float>
public class TransitionedFloatProperty
extends AnimatedFloatProperty
implements TransitionedProperty<Float>
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.animated.AnimatedFloatProperty
end, startFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, time -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatvoidtransitionTo(float targetValue) voidtransitionToValue(Float targetValue) Methods inherited from class dev.prozilla.pine.common.property.animated.AnimatedFloatProperty
get, getRestarted, getUpdatedMethods inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
getCurve, getFactor, hasFinished, restart, setDuration, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.animated.AnimatedPropertyBase
getCurve, getFactor, getRestartedValue, getUpdatedValue, hasFinished, restart, setDuration, updateMethods inherited from interface dev.prozilla.pine.common.property.FloatProperty
getValue, getValueOr, has, hasProperty, isZeroProperty, map, replaceNull, requireValueMethods inherited from interface dev.prozilla.pine.common.property.NonNullProperty
isNotNull, isNotNullPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
hasValue, hasValueProperty, isNull, map, snapshot, toStringProperty
-
Constructor Details
-
TransitionedFloatProperty
-
-
Method Details
-
transitionToValue
- Specified by:
transitionToValuein interfaceTransitionedProperty<Float>
-
transitionTo
public void transitionTo(float targetValue) -
computeStart
protected float computeStart()
-