Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/npcs/attractor_mine.h @ 9869

Last change on this file since 9869 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 562 bytes
Line 
1
2#ifndef _ATTRACTOR_MINE_H
3#define _ATTRACTOR_MINE_H
4
5#include "npc.h"
6
7class AI;
8class Shader;
9
10class 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.