Class TransitionedIntProperty
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<Integer>
dev.prozilla.pine.common.property.animated.AnimatedIntProperty
dev.prozilla.pine.common.property.animated.transitioned.TransitionedIntProperty
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<Integer>,TransitionedProperty<Integer>,IntProperty,NonNullProperty<Integer>,Property<Integer>,Functor<Integer>
public class TransitionedIntProperty
extends AnimatedIntProperty
implements TransitionedProperty<Integer>
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.animated.AnimatedIntProperty
end, startFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, time -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intvoidtransitionTo(int targetValue) voidtransitionToValue(Integer targetValue) Methods inherited from class dev.prozilla.pine.common.property.animated.AnimatedIntProperty
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.IntProperty
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
-
TransitionedIntProperty
-
-
Method Details
-
transitionToValue
- Specified by:
transitionToValuein interfaceTransitionedProperty<Integer>
-
transitionTo
public void transitionTo(int targetValue) -
computeStart
protected int computeStart()
-