Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/world_entities/npc.h @ 4929

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

orxonox/trunk: changed (void) → ()

File size: 594 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();
23  void paint();
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();
29  int hit();
30  void die();
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.