Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/trackManager/src/world_entities/npc.h @ 3498

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

orxonox/branches/trackManager: merged trunk back to tracManager R3440:3497 → 3498
merged with command:
svn merge ../trunk/ trackManager/ -r 3430:HEAD
conflicts resolved in favor of the Trunk

File size: 614 bytes
Line 
1
2#ifndef _NPC_H
3#define _NPC_H
4
5#include "world_entity.h"
6
7class AI;
8
9class NPC : public WorldEntity {
10
11 public:
12  NPC ();
13  ~NPC ();
14
15  /* collision control */
16  float collisionRadius;
17
18  float xCor;
19  float yCor;
20  float zCor;
21
22  void drawNPC(void);
23  void paint(void);
24  void setPosition(float x, float y, float z);
25  void getPosition(float* x, float* y, float* z);
26  void addAI(AI* ai);
27  void setCollisionRadius(float r);
28  float getCollisionRadius(void);
29  int hit(void);
30  void die(void);
31
32 private:
33  /* position of the non player space craft */
34
35  int npcType;
36  int hasDied;
37
38
39;
40
41};
42
43#endif /* _NPC_H */
Note: See TracBrowser for help on using the repository browser.