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

public abstract class AnimatedObjectProperty<T> extends AnimatedProperty<T>
A property with a value that changes over time.
  • Field Details

    • start

      protected T start
    • end

      protected T end
  • Constructor Details

    • AnimatedObjectProperty

      public AnimatedObjectProperty(T start, T end, AnimationCurve curve)
      Creates a property with an animation.
      Parameters:
      start - Value at the start of the animation
      end - Value at the end of the animation