Class TimeValues.VariableValue
- java.lang.Object
-
- net.minecraftforge.common.animation.TimeValues.VariableValue
-
- All Implemented Interfaces:
ITimeValue
- Enclosing class:
- TimeValues
public static final class TimeValues.VariableValue extends java.lang.Object implements ITimeValue
Simple value holder.
-
-
Field Summary
Fields Modifier and Type Field Description private float
output
-
Constructor Summary
Constructors Constructor Description VariableValue(float initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
apply(float input)
boolean
equals(java.lang.Object obj)
int
hashCode()
void
setValue(float newValue)
-
-
-
Method Detail
-
setValue
public void setValue(float newValue)
-
apply
public float apply(float input)
- Specified by:
apply
in interfaceITimeValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-