Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/npcs/npc.h @ 5914

Last change on this file since 5914 was 5750, checked in by bensch, 19 years ago

orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD

conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk

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