public class TimeSum extends TimeBase
| Constructor and Description |
|---|
TimeSum(TimeBase t1,
TimeBase t2,
boolean add)
Creates a new instance of TimeDiscrete
|
| Modifier and Type | Method and Description |
|---|---|
double |
evalTime()
Calculates the (greater than or equal to 0) time in seconds this
time represents.
|
void |
setParentElement(AnimationElement ele)
Some time elements need to refer to the animation element that contains
them to evaluate correctly
|
parseTimeComponentpublic double evalTime()
TimeBasepublic void setParentElement(AnimationElement ele)
TimeBasesetParentElement in class TimeBase