Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/dave/src/npc.h @ 3715

Last change on this file since 3715 was 3224, checked in by bensch, 20 years ago

orxonox/trunk: FILE_H → _FILE_H to all h-files.

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.