source:
orxonox.OLD/trunk/src/world_entities/npcs/attractor_mine.h
@
10672
Last change on this file since 10672 was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 562 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
[9173] | 2 | #ifndef _ATTRACTOR_MINE_H |
3 | #define _ATTRACTOR_MINE_H | |
[1853] | 4 | |
[6004] | 5 | #include "npc.h" |
[1853] | 6 | |
[2036] | 7 | class AI; |
[5266] | 8 | class Shader; |
[1904] | 9 | |
[9173] | 10 | class AttractorMine : public NPC { |
[9869] | 11 | ObjectListDeclaration(AttractorMine); |
[1853] | 12 | |
13 | public: | |
[9177] | 14 | AttractorMine (const TiXmlElement* root = NULL); |
[9173] | 15 | virtual ~AttractorMine (); |
[1853] | 16 | |
[9161] | 17 | virtual void loadParams(const TiXmlElement* root); |
[1899] | 18 | |
[4977] | 19 | void addAI(AI* ai); |
[1899] | 20 | |
[9164] | 21 | virtual void destroy(WorldEntity* killer); |
22 | ||
[5029] | 23 | virtual void tick(float dt); |
[5500] | 24 | virtual void draw() const; |
[1858] | 25 | |
26 | private: | |
[5059] | 27 | Vector randomRotAxis; |
[5266] | 28 | Shader* shader; |
[9175] | 29 | |
30 | Vector velocity; | |
[1853] | 31 | }; |
32 | ||
[9173] | 33 | #endif /* _ATTRACTOR_MINE_H */ |
Note: See TracBrowser
for help on using the repository browser.