Class AnimatedObjectProperty<T>
java.lang.Object
dev.prozilla.pine.common.property.animated.AnimatedProperty<T>
dev.prozilla.pine.common.property.animated.AnimatedObjectProperty<T>
- All Implemented Interfaces:
Updatable,AnimatedPropertyBase<T>,Property<T>,Functor<T>
- Direct Known Subclasses:
AnimatedColorProperty,AnimatedColorProperty.AnimatedAlpha,AnimatedDimensionProperty,AnimatedDualDimensionProperty,TransitionedObjectProperty
A property with a value that changes over time.
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, time -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedObjectProperty(T start, T end, AnimationCurve curve) Creates a property with an animation. -
Method Summary
Methods 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
getRestartedValue, getUpdatedValueMethods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty
-
Field Details
-
start
-
end
-
-
Constructor Details
-
AnimatedObjectProperty
Creates a property with an animation.- Parameters:
start- Value at the start of the animationend- Value at the end of the animation
-