Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
aitask.h
1 #pragma once
2 
3 #include "scripting/scriptable.h"
4 
5 #include "utils/handle/handle.h"
6 
7 
8 class BoardComputer;
9 class WorldObject;
10 
15 class AiTask : public Scriptable {
16 public:
17  AiTask(BoardComputer* boardComputer);
18  virtual ~AiTask();
19 
20  BoardComputer* boardComputer();
21 
22  virtual void update(float deltaSec);
23  virtual bool isFinished();
24 
25  Handle<AiTask>& handle();
26 
27 
28 protected:
29  Handle<AiTask> m_handle;
30  BoardComputer* m_boardComputer;
31 };
32 
Definition: aitask.h:15
Definition: worldobject.h:43
Definition: boardcomputer.h:19
Definition: scriptable.h:4