Class ConstantInterpolator<Value>
java.lang.Object
de.pirckheimer_gymnasium.engine_pi.animation.interpolation.ConstantInterpolator<Value>
- Type Parameters:
Value- Ein beliebiger Typ zum Interpolieren
- All Implemented Interfaces:
Interpolator<Value>
Ein Interpolator, der eine konstante Funktion darstellt.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConstantInterpolator
Erstellt einen konstanten Interpolator- Parameters:
value- Der stets auszugebende Wert
-
-
Method Details
-
interpolate
- Specified by:
interpolatein interfaceInterpolator<Value>
-