Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/npc.h @ 1898

Last change on this file since 1898 was 1896, checked in by patrick, 21 years ago

orxonox/trunk: added ability to shoot. so check out the new release and shoot the fuck up

File size: 421 bytes
Line 
1
2#ifndef NPC_H
3#define NPC_H
4
5
6class NPC {
7
8 public:
9  NPC ();
10  ~NPC ();
11
12  void drawNPC(void);
13  void setPosition(int x, int y, int z);
14  void getPosition(int* x, int* y, int* z);
15  void setCollisionRadius(int r);
16  float getCollisionRadius();
17
18 private:
19  /* position of the non player space craft */
20
21  int npcType;
22
23  /* collision control */
24  int collisionRadius;
25
26  int xCor;
27  int yCor;
28  int zCor;
29;
30
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.