Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/player.h @ 1872

Last change on this file since 1872 was 1872, checked in by patrick, 20 years ago

orxonox/trunk: play the square - its possible now…

File size: 481 bytes
Line 
1
2#ifndef PLAYER_H
3#define PLAYER_H
4
5/* openGL Headers */
6#include <GL/glut.h>
7
8//#include "input_output.h"
9
10class Player {
11
12 public:
13  Player ();
14  ~Player ();
15
16  void setPosition(int x, int y, int z);
17  void getPosition(int* x, int* y, int* z);
18  void goX(int x);
19  void goY(int y);
20  void goZ(int x);
21  void shoot(int n);
22  //  void addIO(InputOutput *io);
23  void drawPlayer(void);
24
25 private:
26  /* position of the space craft */
27  int xCor;
28  int yCor;
29  int zCor;
30
31
32
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.