Central manager for all timers that implement the IQuestTimer interface. More...
Public Member Functions | |
void | Register (IQuestTimer timer) |
Registers a timer with this instance of QuestTimerManager. | |
void | Unregister (IQuestTimer timer) |
Unregisters a timer from this instance of QuestTimerManager. | |
void | Tick () |
Invokes the Tick method on all registered timers. | |
Static Public Member Functions | |
static void | RegisterTimer (IQuestTimer timer) |
Register a timer to receive ticks. | |
static void | UnregisterTimer (IQuestTimer timer) |
Unregister a timer so it no longer receives ticks. | |
Central manager for all timers that implement the IQuestTimer interface.
Typically one instance of this script exists on the QuestMachineConfiguration instance. Every second, it invokes the timers' Tick() method.
|
inline |
Registers a timer with this instance of QuestTimerManager.
This method is usually called implicitly by the static method QuestTimerManager.RegisterTimer.
|
inlinestatic |
Register a timer to receive ticks.
timer |
|
inline |
Invokes the Tick method on all registered timers.
|
inline |
Unregisters a timer from this instance of QuestTimerManager.
This method is usually called implicitly by the static method QuestTimerManager.UnregisterTimer.
|
inlinestatic |
Unregister a timer so it no longer receives ticks.
timer |