#include <dustycountdowntask.h>
Inheritance diagram for DustyEngine::CountDownTask:

Public Member Functions | |
| CountDownTask () | |
| ~CountDownTask () | |
| bool | IsZero () |
| void | SetCountPastZero (bool countPast) |
| bool | DoesCountPastZero () |
| void | OnUpdate () |
| OnUpdate() is called by the TaskTree when the time has come to execute the task's code. | |
Protected Attributes | |
| bool | countPastZero |
Definition at line 11 of file dustycountdowntask.h.
|
|
|
|
|
|
|
|
DoesCountPastZero() returns whether or not the task counts into negatives past zero.
Definition at line 34 of file dustycountdowntask.h. |
|
|
IsZero() returns true if the counter has reached zero.
Definition at line 20 of file dustycountdowntask.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::CounterTask. |
|
|
SetCountPastZero sets whether this task should continue counting down into negatives after it reaches zero.
Definition at line 27 of file dustycountdowntask.h. |
|
|
Definition at line 42 of file dustycountdowntask.h. |
1.4.6-NO