Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
aitaskfinishedpoll.h
1 #pragma once
2 
3 #include <functional>
4 
5 #include "eventpoll.h"
6 
7 #include "utils/handle/handle.h"
8 
9 class AiTask;
10 
11 class AiTaskFinishedPoll : public EventPoll {
12 public:
13  AiTaskFinishedPoll(AiTask* aitask, const std::function<void()>& callback);
14 
15 protected:
16  Handle<AiTask> m_aiTask;
17 
18  virtual bool poll() override;
19  virtual bool isDead() override;
20 
21 };
22 
Definition: aitaskfinishedpoll.h:11
Definition: aitask.h:15
Definition: eventpoll.h:11