- cancelTask
void cancelTask(UUID id)
Cancels the given task from executing.
- executeTasks
void executeTasks()
Executes all scheduled tasks.
- resetTasks
void resetTasks()
Cancels all running tasks.
- scheduleDelayedTask
UUID scheduleDelayedTask(Duration delay, void delegate() dg)
Schedule a task to be execuated after the specified amount of time.
- scheduleInterpolateTask
UUID scheduleInterpolateTask(ref T val, T start, T end, Duration duration, T function(T, T, float) interpFunc = &lerp!(T))
Schedule a task to interpolate a value over a period of time.
- scheduleInterpolateTask
UUID scheduleInterpolateTask(ref Owner own, T start, T end, Duration duration, T function(T, T, float) interpFunc = &lerp!(T))
Schedule a task to interpolate a property over a period of time.
- scheduleIntervaledTask
UUID scheduleIntervaledTask(Duration interval, bool delegate() dg)
Schedule a task to be executed on an interval, until the task returns true.
- scheduleIntervaledTask
UUID scheduleIntervaledTask(Duration interval, uint numExecutions, void delegate() dg)
Schedule a task to be executed on an interval a given number of times.
- scheduleIntervaledTask
UUID scheduleIntervaledTask(Duration interval, uint numExecutions, bool delegate() dg)
Schedule a task to be executed on an interval a given number of times, or until the event returns true.
- scheduleTask
UUID scheduleTask(bool delegate() dg)
Schedule a task to be executed until it returns true.
- scheduleTimedTask
UUID scheduleTimedTask(Duration duration, void delegate() dg)
UUID scheduleTimedTask(Duration duration, void delegate(float) dg)
UUID scheduleTimedTask(Duration duration, void delegate(float, float) dg)
UUID scheduleTimedTask(Duration duration, bool delegate() dg)
UUID scheduleTimedTask(Duration duration, bool delegate(float) dg)
UUID scheduleTimedTask(Duration duration, bool delegate(float, float) dg)
Schedule a task to be executed until the duration expires.
Defines methods for scheduling tasks with different conditions for executing.