Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/npcs/npc_test.h @ 6004

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

orxonox/trunk: new algorithm to rotate entities for drawing works (shifcoor ONLY takes normalized Vectors…)

File size: 406 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
12 public:
13  NPC2 ();
14  ~NPC2 ();
15
16
17  void addAI(AI* ai);
18
19  virtual void tick(float dt);
20  virtual void draw() const;
21
22  virtual void collidesWith (WorldEntity* entity, const Vector& location);
23
24
25 private:
26   Vector   randomRotAxis;
27   Shader*  shader;
28   GLUquadricObj* obj;
29
30};
31
32#endif /* _NPC2_H */
Note: See TracBrowser for help on using the repository browser.