Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: Shaders now work :)

File size: 473 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
[2036]8class AI;
[5266]9class Shader;
[1904]10
[5266]11class NPC2 : public WorldEntity, public PhysicsInterface {
[1853]12
13 public:
[5266]14  NPC2 ();
15  ~NPC2 ();
[1853]16
[1899]17
[4977]18  void addAI(AI* ai);
[1899]19
[5029]20  virtual void tick(float dt);
[5266]21  virtual void draw();
[1858]22
[5029]23  virtual void collidesWith (WorldEntity* entity, const Vector& location);
24
25
[1858]26 private:
[5059]27   Vector   randomRotAxis;
[5266]28   Shader*  shader;
29   GLUquadricObj* obj;
[5029]30
[1853]31};
32
[5266]33#endif /* _NPC2_H */
Note: See TracBrowser for help on using the repository browser.