Class Glider.Changer
java.lang.Object
com.github.yellowstonegames.smooth.Glider.Changer
- Enclosing class:
Glider
A named variable that can change either (or both) a float and/or an int value between start and end values.
Typical usage only will have reasonable results when using one type, either float or int, and will have the start
and end values for that type used with the appropriate interpolator by
Glider.getFloat(String) or
Glider.getInt(String). The name is important; you look up the current value for a Changer by its name.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChanger(String name, float startF, float endF, FloatSmoother interpolatorF) Changer(String name, int startI, int endI, IntSmoother interpolatorI) -
Method Summary
-
Field Details
-
name
-
startF
public float startF -
endF
public float endF -
startI
public int startI -
endI
public int endI -
interpolatorF
-
interpolatorI
-
-
Constructor Details
-
Changer
-
Changer
-
Changer
-
Changer
-
-
Method Details
-
getName
-
equals
-
hashCode
-