UGDK
|
#include <generictask.h>
Public Member Functions | |
GenericTask (std::tr1::function< bool(double)> func) | |
GenericTask (std::tr1::function< bool(double)> func, int priority) | |
void | operator() (double dt) |
Protected Attributes | |
std::tr1::function< bool(double)> | function_ |
ugdk::action::GenericTask::GenericTask | ( | std::tr1::function< bool(double)> | func | ) | [inline] |
ugdk::action::GenericTask::GenericTask | ( | std::tr1::function< bool(double)> | func, |
int | priority | ||
) | [inline] |
void ugdk::action::GenericTask::operator() | ( | double | dt | ) | [inline, virtual] |
Implements ugdk::action::Task.
std::tr1::function<bool (double)> ugdk::action::GenericTask::function_ [protected] |