- Timestamp:
- Dec 3, 2008, 4:30:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.cc
r2288 r2327 37 37 namespace orxonox 38 38 { 39 CreateFactory(Weapon); 40 39 41 Weapon::Weapon(BaseObject* creator) : BaseObject(creator) 40 42 { … … 42 44 this->bulletReadyToShoot_ = true; 43 45 this->magazineReadyToShoot_ = true; 44 this->setParentWeaponSystem();45 46 } 46 47 … … 95 96 * 96 97 */ 97 void Weapon::setParentWeaponSystem()98 { this->parentWeaponSystem_ = this->parentWeaponSlot_->getParentWeaponSystem(); }99 100 98 Munition * Weapon::getAttachedMunition() 101 99 { return this->munition_; }
Note: See TracChangeset
for help on using the changeset viewer.