de.unifreiburg.twodeedoo.view
Interface ISchedulable
- All Known Subinterfaces:
- IActivity, IActor
- All Known Implementing Classes:
- BaseActor, ErrorActivity, LinearMotionActor, SimpleActivity
public interface ISchedulable
I want to run from time to time.
- Author:
- anton
Method Summary |
boolean |
run(int elapsedTimeMillis)
Perform some work. |
NULL_OBJECT
static final ISchedulable NULL_OBJECT
- an
ISchedulable
which does nothing.
run
boolean run(int elapsedTimeMillis)
- Perform some work.
- Parameters:
elapsedTimeMillis
- time in ms since last call.
- Returns:
- true: this should be run again, false: finished, don't call again.