public interface Schedulable
Scheduler must implement this interface.| Modifier and Type | Method and Description |
|---|---|
void |
run(long nanoTimeToRun)
Method invoked by the
Scheduler when this schedulable needs to be run. |
void run(long nanoTimeToRun)
Scheduler when this schedulable needs to be run.nanoTimeToRun - the maximum time in nanoseconds this scheduler should run on the current frame.