Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1902 was 1900, checked in by patrick, 21 years ago

orxonox/trunk: hardware independant game speed, more shoots, more speed - see mail

File size: 682 bytes
Line 
1
2#ifndef PLAYER_H
3#define PLAYER_H
4
5/* openGL Headers */
6#include <GL/glut.h>
7
8#include "shoot_laser.h"
9//#include "world.h"
10
11class Player {
12
13 public:
14  Player ();
15  ~Player ();
16
17  /* position of the spacecraft */
18  float xCor;
19  float yCor;
20  float zCor;
21 
22  float collisionRadius;
23
24  /* this player wanna shoot? so include a ref to ShootLaser */
25  ShootLaser* shootLaser;
26
27  void setPosition(float x, float y, float z);
28  void getPosition(float* x, float* y, float* z);
29  void setCollisionRadius(float radius);
30  void goX(float x);
31  void goY(float y);
32  void goZ(float x);
33  void shoot(int n);
34  //  void addIO(InputOutput *io);
35  void drawPlayer(void);
36
37 private:
38
39
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.