Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/npc.h @ 3361

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

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

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