public interface ICycleProcessor
Modifier and Type | Method and Description |
---|---|
double |
cycle(IModel model,
boolean eventsHaveFired)
run a single cycle of the model returning the time that the next cycle
should start at.
|
void |
executeAfter(java.lang.Runnable runner)
execute this after the current cycle finishes
|
void |
executeBefore(java.lang.Runnable runner)
execute this before the next cycle starts
|
boolean |
isExecuting()
is the cycle currently executing? True between cycle start and stop events.
|
double cycle(IModel model, boolean eventsHaveFired)
eventsHaveFired
- TODOvoid executeBefore(java.lang.Runnable runner)
runner
- void executeAfter(java.lang.Runnable runner)
runner
- boolean isExecuting()