Line | |
---|
1 | |
---|
2 | #ifndef _ATTRACTOR_MINE_H |
---|
3 | #define _ATTRACTOR_MINE_H |
---|
4 | |
---|
5 | #include "npc.h" |
---|
6 | |
---|
7 | class AI; |
---|
8 | class Shader; |
---|
9 | |
---|
10 | class AttractorMine : public NPC { |
---|
11 | |
---|
12 | public: |
---|
13 | AttractorMine (const TiXmlElement* root = NULL); |
---|
14 | virtual ~AttractorMine (); |
---|
15 | |
---|
16 | virtual void loadParams(const TiXmlElement* root); |
---|
17 | |
---|
18 | void addAI(AI* ai); |
---|
19 | |
---|
20 | virtual void destroy(WorldEntity* killer); |
---|
21 | |
---|
22 | virtual void tick(float dt); |
---|
23 | virtual void draw() const; |
---|
24 | |
---|
25 | private: |
---|
26 | Vector randomRotAxis; |
---|
27 | Shader* shader; |
---|
28 | |
---|
29 | Vector velocity; |
---|
30 | }; |
---|
31 | |
---|
32 | #endif /* _ATTRACTOR_MINE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.