Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1920 in orxonox.OLD for orxonox/trunk/core/player.cc


Ignore:
Timestamp:
Jun 8, 2004, 1:47:33 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: rockets added (in 3D)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/core/player.cc

    r1900 r1920  
    1919#include "player.h"
    2020#include <iostream>
     21#include <stdlib.h>
    2122
    2223
     
    2829  xCor = yCor = zCor = 0;
    2930  shootLaser = new ShootLaser;
     31  shootRocket = new ShootRocket;
    3032}
    3133
     
    7678  shootLaser->addShootExt(xCor, yCor, zCor, .1, .4, .0);
    7779  shootLaser->addShootExt(xCor, yCor, zCor, -0.1, .4, .0);
     80  shootRocket->addShoot(xCor, yCor, zCor);
    7881  //cout << "Player::shoot" << endl;
    7982}
     
    9295  /* draw all the shoots additionaly */
    9396  shootLaser->drawShoot();
     97  shootRocket->drawShoot();
    9498  //cout << "Player::drawPlayer" << endl;
    9599}
Note: See TracChangeset for help on using the changeset viewer.