25#include "common/str.h"
26#include "twp/detection.h"
27#include "twp/thread.h"
35 virtual bool update(
float elapsed) = 0;
38typedef bool Predicate();
40template<
typename Predicate>
44 : _parentId(parentId),
50 virtual bool update(
float elapsed)
override final {
55 debugC(kDebugGame,
"Resume task: %d, %s", _parentId, pt->getName().c_str());
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
void void void void void debugC(int level, uint32 debugChannel, MSVC_PRINTF const char *s,...) GCC_PRINTF(3