Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/npcs/npc_test1.h @ 6177

Last change on this file since 6177 was 6004, checked in by bensch, 19 years ago

orxonox/trunk: new algorithm to rotate entities for drawing works (shifcoor ONLY takes normalized Vectors…)

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