java.lang.Object
com.simibubi.create.foundation.utility.animation.Force.OverTime
- All Implemented Interfaces:
Force
- Enclosing interface:
- Force
public static class Force.OverTime
extends Object
implements Force
-
-
Constructor Summary
Constructors
OverTime(int time,
float totalAcceleration)
-
Method Summary
boolean
float
get(float mass,
float value,
float speed)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OverTime
public OverTime(int time,
float totalAcceleration)
-
Method Details
-
get
public float get(float mass,
float value,
float speed)
- Specified by:
get in interface Force
-
finished
public boolean finished()
- Specified by:
finished in interface Force