- Timestamp:
- Dec 8, 2008, 2:36:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/Weapon.cc
r2347 r2354 111 111 this->munitionType_ = munitionType; } 112 112 113 std::string Weapon::getMunitionType()113 const std::string Weapon::getMunitionType() 114 114 { return this->munitionType_; } 115 115 116 116 Munition * Weapon::getAttachedMunition(std::string munitionType) 117 117 { 118 COUT(0) << "Weapon::getAttachedMunition, parentWeaponSystem_="<< this->parentWeaponSystem_ << std::endl; 119 this-> parentWeaponSystem_->getMunitionType(munitionType);118 COUT(0) << "Weapon::getAttachedMunition, parentWeaponSystem_="<< this->parentWeaponSystem_ << std::endl; 119 this->munition_ = this->parentWeaponSystem_->getMunitionType(munitionType); 120 120 COUT(0) << "Weapon::getAttachedMunition, munition_="<< this->munition_ << std::endl; 121 121 return this->munition_; }
Note: See TracChangeset
for help on using the changeset viewer.