Record Class BlendingFunction.EaseOutBounce
java.lang.Object
java.lang.Record
io.github.vampirestudios.vampirelib.utils.blendfunctions.BlendingFunction.EaseOutBounce
- All Implemented Interfaces:
BlendingFunction
- Enclosing interface:
- BlendingFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.vampirestudios.vampirelib.utils.blendfunctions.BlendingFunction
BlendingFunction.EaseInCirc, BlendingFunction.EaseInOutCirc, BlendingFunction.EaseOutBounce, BlendingFunction.EaseOutCubic, BlendingFunction.EaseOutElastic, BlendingFunction.EaseOutQuint -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlendingFunction.EaseOutBounce>static final BlendingFunction.EaseOutBounce -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(double factor) com.mojang.serialization.Codec<? extends BlendingFunction>codec()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.vampirestudios.vampirelib.utils.blendfunctions.BlendingFunction
apply
-
Field Details
-
INSTANCE
-
CODEC
-
-
Constructor Details
-
EaseOutBounce
public EaseOutBounce()Creates an instance of aEaseOutBouncerecord class.
-
-
Method Details
-
apply
public double apply(double factor) - Specified by:
applyin interfaceBlendingFunction
-
codec
- Specified by:
codecin interfaceBlendingFunction
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-