Changeset 2058 in orxonox.OLD for orxonox/branches/chris/src/npc.cc
- Timestamp:
- Jul 2, 2004, 11:36:56 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/npc.cc
r1982 r2058 16 16 */ 17 17 18 #include <iostream> 19 #include <GL/glut.h> 20 21 #include "ai.h" 22 #include "data_tank.h" 18 23 19 24 #include "npc.h" 20 21 #include <iostream>22 23 25 24 26 using namespace std; 25 27 26 28 27 NPC::NPC () 29 NPC::NPC() 30 : WorldEntity() 28 31 { 29 32 hasDied = 0; … … 57 60 58 61 void NPC::addAI(AI* ai) 62 {} 63 64 void NPC::paint() 59 65 { 60 61 } 62 63 void NPC::drawNPC(void) 64 { 66 //cout << "WorldEntity::WorldEntity();" << endl; 65 67 /* fix: died flag approach is very stupid, just to show @ convention */ 66 68 if( hasDied == 0 ) { … … 73 75 } 74 76 77 void NPC::drawNPC() 78 { 79 80 } 81 75 82 76 83 /* define the reaction, if the ship is been hit */ … … 81 88 } 82 89 90 83 91 void NPC::die() 84 92 {
Note: See TracChangeset
for help on using the changeset viewer.