Changeset 1899 in orxonox.OLD for orxonox/trunk/core/npc.h
- Timestamp:
- May 20, 2004, 1:03:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/npc.h
r1896 r1899 3 3 #define NPC_H 4 4 5 /* openGL Headers */ 6 #include <GL/glut.h> 5 7 6 8 class NPC { … … 10 12 ~NPC (); 11 13 14 /* collision control */ 15 float collisionRadius; 16 17 float xCor; 18 float yCor; 19 float zCor; 20 12 21 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);22 void setPosition(float x, float y, float z); 23 void getPosition(float* x, float* y, float* z); 24 void setCollisionRadius(float r); 16 25 float getCollisionRadius(); 17 26 … … 21 30 int npcType; 22 31 23 /* collision control */24 int collisionRadius;25 32 26 int xCor;27 int yCor;28 int zCor;29 33 ; 30 34
Note: See TracChangeset
for help on using the changeset viewer.