Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5610 was 5511, checked in by bensch, 19 years ago

orxonox/trunk: more cleanup of the WorldEntity (includes rearanged)

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