Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/world_entities/src/world_entities/npcs/npc.h @ 5685

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

orxonox/world_entities: world_entities are in a seperate Directory now

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