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 | ObjectListDeclaration(AttractorMine); |
---|
12 | |
---|
13 | public: |
---|
14 | AttractorMine (const TiXmlElement* root = NULL); |
---|
15 | virtual ~AttractorMine (); |
---|
16 | |
---|
17 | virtual void loadParams(const TiXmlElement* root); |
---|
18 | |
---|
19 | void addAI(AI* ai); |
---|
20 | |
---|
21 | virtual void destroy(WorldEntity* killer); |
---|
22 | |
---|
23 | virtual void tick(float dt); |
---|
24 | virtual void draw() const; |
---|
25 | |
---|
26 | private: |
---|
27 | Vector randomRotAxis; |
---|
28 | Shader* shader; |
---|
29 | |
---|
30 | Vector velocity; |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* _ATTRACTOR_MINE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.