Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/src/npc.h @ 1994

Last change on this file since 1994 was 1982, checked in by chris, 20 years ago

orxonox/branches/chris: merged trunk into my branch, moved new files into new folder

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