Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/test/src/world_entities/npcs/npc_test.h @ 10767

Last change on this file since 10767 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: 467 bytes
Line 
1
2#ifndef _NPC22_H
3#define _NPC2_H
4
5#include "npc.h"
6
7class AI;
8class Shader;
9
10class NPC2 : public NPC {
11  ObjectListDeclaration(NPC2);
12
13 public:
14  NPC2 (const TiXmlElement* root);
15  virtual ~NPC2 ();
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
31#endif /* _NPC2_H */
Note: See TracBrowser for help on using the repository browser.