Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/world_entities/npc2.h @ 5631

Last change on this file since 5631 was 5500, checked in by bensch, 19 years ago

orxonox/trunk: all the WorldEntities now have a const function to draw themselves

File size: 479 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() const;
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.