Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1858 in orxonox.OLD for orxonox/trunk/core/npc.cc


Ignore:
Timestamp:
May 5, 2004, 7:33:27 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk/core: world draw function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/core/npc.cc

    r1855 r1858  
    1919#include "npc.h"
    2020
     21#include <iostream>
     22
     23using namespace std;
    2124
    2225
     
    2831
    2932
     33void NPC::setPosition(int x, int y, int z)
     34{
     35  xCor = x; yCor = y; zCor = z;
     36}
     37
     38void NPC::getPosition(int* x, int* y, int* z)
     39{
     40  *x = xCor;
     41  *y = yCor;
     42  *z = zCor;
     43}
     44
     45
     46void NPC::drawNPC(void)
     47{
     48  cout << "Player::drawNPC()" << endl;
     49}
Note: See TracChangeset for help on using the changeset viewer.