Class TransitionedDualDimensionProperty
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<DualDimension>
dev.prozilla.pine.common.property.animated.AnimatedObjectProperty<DualDimension>
dev.prozilla.pine.common.property.animated.transitioned.TransitionedObjectProperty<DualDimension>
dev.prozilla.pine.common.property.animated.transitioned.TransitionedDualDimensionProperty
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<DualDimension>,TransitionedProperty<DualDimension>,Property<DualDimension>,Functor<DualDimension>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dimension.Mixprotected Dimension.Mixprotected DualDimensionFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedObjectProperty
end, startFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, time -
Constructor Summary
ConstructorsConstructorDescriptionTransitionedDualDimensionProperty(DualDimension initialValue, AnimationCurve curve) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the value of this property.voidtransitionToValue(DualDimension targetValue) Methods inherited from class dev.prozilla.pine.common.property.animated.transitioned.TransitionedObjectProperty
computeStartValueMethods 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.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty
-
Field Details
-
mixedDimensionX
-
mixedDimensionY
-
result
-
-
Constructor Details
-
TransitionedDualDimensionProperty
-
-
Method Details
-
transitionToValue
- Specified by:
transitionToValuein interfaceTransitionedProperty<DualDimension>- Overrides:
transitionToValuein classTransitionedObjectProperty<DualDimension>
-
getValue
Description copied from interface:PropertyReturns the value of this property.- Returns:
- The value of this property.
-