Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
directsuicidetask.h
1 #pragma once
2 #include <set>
3 
4 #include "glm/glm.hpp"
5 
6 #include "ai/aitask.h"
7 #include "utils/handle/handle.h"
8 
9 
10 class BoardComputer;
11 class WorldObject;
12 
13 class DirectSuicideTask : public AiTask {
14 public:
15  DirectSuicideTask(BoardComputer* boardComputer, WorldObject* target);
16 
17  void setTarget(WorldObject* target);
18 
19  virtual void update(float deltaSec);
20 
21 
22 protected:
23  Handle<WorldObject> m_target;
24 };
25 
Definition: aitask.h:15
Definition: worldobject.h:43
Definition: directsuicidetask.h:13
Definition: boardcomputer.h:19