|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kinetic.TimeFilter | +--kinetic.Delay
Basic time filter that shifts the incommin time by a given amount. This allows an object to be delayed or shifted forward in time.
Field Summary | |
kinetic.KineticProperty |
amount
property holdin the time shift amount |
Fields inherited from class kinetic.TimeFilter |
duration, isDone, properties |
Constructor Summary | |
Delay(double amount_val)
constructs a new instance of Delay |
|
Delay(double amount_val,
double dur)
constructs a new instance of Delay |
Method Summary | |
double |
apply(double time)
main routtine that calulates the new value of time |
Methods inherited from class kinetic.TimeFilter |
clear, getDuration, getPropertyList, isDone, PrepareVariables, reset, setDuration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public kinetic.KineticProperty amount
Constructor Detail |
public Delay(double amount_val)
amount_val
- time shift amountpublic Delay(double amount_val, double dur)
amount_val
- time shift amount - msdur
- set the duration in which this timefilter is valid -msMethod Detail |
public double apply(double time)
apply
in class TimeFilter
time
- incomming value of time - ms
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |