Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5500 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
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);
[5500]21  virtual void draw() const;
[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.