Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/npc.cc @ 1885

Last change on this file since 1885 was 1858, checked in by patrick, 21 years ago

orxonox/trunk/core: world draw function

File size: 742 bytes
Line 
1
2
3/*
4   orxonox - the future of 3D-vertical-scrollers
5
6   Copyright (C) 2004 orx
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2, or (at your option)
11   any later version.
12
13   ### File Specific:
14   main-programmer: Patrick Boenzli
15   co-programmer:
16*/
17
18
19#include "npc.h"
20
21#include <iostream>
22
23using namespace std;
24
25
26NPC::NPC () {}
27
28
29
30NPC::~NPC () {}
31
32
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 TracBrowser for help on using the repository browser.