Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3873 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Apr 18, 2005, 4:01:42 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: added the weapon module to the debug system. some minor changes in the weaponmanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r3811 r3873  
    5353  acceleration = 10.0;
    5454  //weapons:
     55  this->weaponMan = new WeaponManager();
    5556  Weapon* wpRight = new TestGun(this, new Vector(-2.6, 0.1, 3.0), new Quaternion(), 0);
    5657  Weapon* wpLeft = new TestGun(this, new Vector(-2.6, 0.1, -3.0), new Quaternion(), 1);
     58 
     59  this->weaponMan->addWeapon(wpRight);
     60
    5761  this->weapons->add(wpRight);
    5862  this->activeWeapon = wpRight;
     
    7074  */
    7175  delete this->weapons;
     76  delete this->weaponMan;
    7277}
    7378
Note: See TracChangeset for help on using the changeset viewer.