Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/npc2.h @ 5397

Last change on this file since 5397 was 5266, checked in by bensch, 19 years ago

orxonox/trunk: Shaders now work :)

File size: 473 bytes
Line 
1
2#ifndef _NPC22_H
3#define _NPC2_H
4
5#include "world_entity.h"
6#include "physics_interface.h"
7
8class AI;
9class Shader;
10
11class NPC2 : public WorldEntity, public PhysicsInterface {
12
13 public:
14  NPC2 ();
15  ~NPC2 ();
16
17
18  void addAI(AI* ai);
19
20  virtual void tick(float dt);
21  virtual void draw();
22
23  virtual void collidesWith (WorldEntity* entity, const Vector& location);
24
25
26 private:
27   Vector   randomRotAxis;
28   Shader*  shader;
29   GLUquadricObj* obj;
30
31};
32
33#endif /* _NPC2_H */
Note: See TracBrowser for help on using the repository browser.