Class AnimatedColorProperty.AnimatedAlpha
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<Color>
dev.prozilla.pine.common.property.animated.AnimatedProperty<Color>
dev.prozilla.pine.common.property.animated.AnimatedColorProperty.AnimatedAlpha
- All Implemented Interfaces:
ColorProperty
,Transmittable<Color>
- Enclosing class:
AnimatedColorProperty
public static class AnimatedColorProperty.AnimatedAlpha
extends AnimatedProperty<Color>
implements ColorProperty
A color property with an animated alpha value.
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
curve, end, start, time
Fields inherited from class dev.prozilla.pine.common.property.VariableProperty
random
-
Constructor Summary
ConstructorsConstructorDescriptionAnimatedAlpha
(Color color, float alphaStart, float alphaEnd, AnimationCurve curve) -
Method Summary
Methods inherited from class dev.prozilla.pine.common.property.animated.AnimatedProperty
getCurve, getFactor, getRestartedValue, getUpdatedValue, hasFinished, restart, setDuration, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.prozilla.pine.common.property.ColorProperty
getColor
-
Field Details
-
alphaStart
protected final float alphaStart -
alphaEnd
protected final float alphaEnd
-
-
Constructor Details
-
AnimatedAlpha
-
-
Method Details
-
getValue
- Specified by:
getValue
in classVariableProperty<Color>
- Returns:
- The value of this property.
-
transmit
Description copied from interface:Transmittable
Transmits this object's data to a given target object.- Specified by:
transmit
in interfaceTransmittable<Color>
- Parameters:
target
- the target object to which data will be transmitted
-