Changeset 1858 in orxonox.OLD for orxonox/trunk/core/npc.cc
- Timestamp:
- May 5, 2004, 7:33:27 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/npc.cc
r1855 r1858 19 19 #include "npc.h" 20 20 21 #include <iostream> 22 23 using namespace std; 21 24 22 25 … … 28 31 29 32 33 void NPC::setPosition(int x, int y, int z) 34 { 35 xCor = x; yCor = y; zCor = z; 36 } 37 38 void NPC::getPosition(int* x, int* y, int* z) 39 { 40 *x = xCor; 41 *y = yCor; 42 *z = zCor; 43 } 44 45 46 void NPC::drawNPC(void) 47 { 48 cout << "Player::drawNPC()" << endl; 49 }
Note: See TracChangeset
for help on using the changeset viewer.