#include <dustyintervalcountertask.h>
Inheritance diagram for DustyEngine::IntervalCounterTask:

Public Member Functions | |
| IntervalCounterTask () | |
| virtual | ~IntervalCounterTask () |
| void | SetValue (irr::s32 t) |
| irr::s32 | GetValue () |
| void | SetInterval (irr::s32 i) |
| irr::s32 | GetInterval () |
| void | OnUpdate () |
| OnUpdate() is called by the TaskTree when the time has come to execute the task's code. | |
Protected Attributes | |
| irr::s32 | counterValue |
| irr::s32 | interval |
Definition at line 11 of file dustyintervalcountertask.h.
|
|
|
|
|
|
|
|
GetInterval() returns the interval this task is counting by.
Definition at line 41 of file dustyintervalcountertask.h. |
|
|
GetValue() returns the current value of the counter.
Definition at line 27 of file dustyintervalcountertask.h. |
|
|
OnUpdate() is called by the TaskTree when the time has come to execute the task's code. OnUpdate is typically the most important function. OnUpdate is only called when enough time has passed or every frame, depending upon what the priority of the task is. If you want code to execute on a time-based basis, put that code here and add the task to the tree. Reimplemented from DustyEngine::DummyTask. Definition at line 46 of file dustyintervalcountertask.h. |
|
|
SetInterval() sets the interval to count by.
Definition at line 34 of file dustyintervalcountertask.h. |
|
|
SetValue() sets the current value of the counter.
Definition at line 20 of file dustyintervalcountertask.h. |
|
|
Definition at line 52 of file dustyintervalcountertask.h. |
|
|
Definition at line 53 of file dustyintervalcountertask.h. |
1.4.6-NO