com.threerings.media.util
Class LinearTimeFunction
java.lang.Object
com.threerings.media.util.TimeFunction
com.threerings.media.util.LinearTimeFunction
public class LinearTimeFunction
- extends TimeFunction
Varies a value linearly with time.
|
Method Summary |
protected int |
computeValue(int dt)
This must be implemented by our derived class to compute our value
given the specified elapsed time (in millis). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearTimeFunction
public LinearTimeFunction(int start,
int end,
int duration)
computeValue
protected int computeValue(int dt)
- Description copied from class:
TimeFunction
- This must be implemented by our derived class to compute our value
given the specified elapsed time (in millis).
- Specified by:
computeValue in class TimeFunction