C4 Engine
C4 Engine API Documentation

TimeMgr::AddTask

Defined in:  C4Time.h
Adds a deferred task to the Time Manager task list.
Prototype

void AddTask(DeferredTask *task);

Parameters
task The deferred task to add.
Description
The AddTask function registers a deferred task object with the Time Manager. A deferred task can be triggered only after it has been registered.

A deferred task can be unregistered explicitly using the TimeMgr::RemoveTask, or it can simply be deleted.
See Also

TimeMgr::RemoveTask

DeferredTask