Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2036 in orxonox.OLD for orxonox/trunk/src/player.h


Ignore:
Timestamp:
Jun 27, 2004, 7:48:44 PM (20 years ago)
Author:
patrick
Message:

orxonxo/trunk/src: extended framework: class inheritance, right including (had som bugs), framework not finished yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/player.h

    r1956 r2036  
    33#define PLAYER_H
    44
    5 /* openGL Headers */
    6 #include <GL/glut.h>
     5#include "world_entity.h"
    76
    8 #include "shoot_laser.h"
    9 #include "shoot_rocket.h"
    10 #include "data_tank.h"
     7class ShootLaser;
     8class ShootRocket;
    119
    12 class Player {
     10
     11class Player : public WorldEntity
     12{
    1313
    1414 public:
     
    2323  float collisionRadius;
    2424
     25
    2526  /* this player wanna shoot? so include a ref to ShootLaser */
    2627  ShootLaser* shootLaser;
     
    3031  void getPosition(float* x, float* y, float* z);
    3132  void setCollisionRadius(float radius);
     33  void paint();
    3234  void goX(float x);
    3335  void goY(float y);
Note: See TracChangeset for help on using the changeset viewer.