Changeset 3873 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Apr 18, 2005, 4:01:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r3811 r3873 53 53 acceleration = 10.0; 54 54 //weapons: 55 this->weaponMan = new WeaponManager(); 55 56 Weapon* wpRight = new TestGun(this, new Vector(-2.6, 0.1, 3.0), new Quaternion(), 0); 56 57 Weapon* wpLeft = new TestGun(this, new Vector(-2.6, 0.1, -3.0), new Quaternion(), 1); 58 59 this->weaponMan->addWeapon(wpRight); 60 57 61 this->weapons->add(wpRight); 58 62 this->activeWeapon = wpRight; … … 70 74 */ 71 75 delete this->weapons; 76 delete this->weaponMan; 72 77 } 73 78
Note: See TracChangeset
for help on using the changeset viewer.