Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/player.h


Ignore:
Timestamp:
Jun 21, 2004, 12:39:11 AM (20 years ago)
Author:
dave
Message:

orxonox/branches/dave:[test the Shit]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/core/player.h

    r1879 r1994  
    66#include <GL/glut.h>
    77
    8 //#include "input_output.h"
     8#include "shoot_laser.h"
     9#include "shoot_rocket.h"
     10#include "data_tank.h"
    911
    1012class Player {
     
    1416  ~Player ();
    1517
     18  /* position of the spacecraft */
     19  float xCor;
     20  float yCor;
     21  float zCor;
     22 
     23  float collisionRadius;
     24
     25  /* this player wanna shoot? so include a ref to ShootLaser */
     26  ShootLaser* shootLaser;
     27  ShootRocket* shootRocket;
     28
    1629  void setPosition(float x, float y, float z);
    1730  void getPosition(float* x, float* y, float* z);
     31  void setCollisionRadius(float radius);
    1832  void goX(float x);
    1933  void goY(float y);
     
    2135  void shoot(int n);
    2236  //  void addIO(InputOutput *io);
    23   void drawPlayer(void);
     37  void drawPlayer(float a, float b);
    2438
    2539 private:
    26   /* position of the space craft */
    27   float xCor;
    28   float yCor;
    29   float zCor;
    30 
    3140
    3241
Note: See TracChangeset for help on using the changeset viewer.