- Timestamp:
- Dec 3, 2008, 4:30:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponPack.cc
r2319 r2327 39 39 namespace orxonox 40 40 { 41 CreateFactory(WeaponPack); 42 41 43 WeaponPack::WeaponPack(BaseObject* creator) : BaseObject(creator) 42 44 { … … 66 68 for (int i=0; i < (int) this->weapons_.size(); i++) 67 69 { 68 COUT(0) << "WeaponPack::fire "<< i << std::endl;70 COUT(0) << "WeaponPack::fire (attached from WeaponSet)"<< i << std::endl; 69 71 this->weapons_[i]->fire(); 70 72 } … … 94 96 void WeaponPack::addWeapon(Weapon * weapon) 95 97 { 98 weapon->setParentWeaponSystem(this->parentWeaponSystem_); 96 99 this->weapons_.push_back(weapon); 97 100 }
Note: See TracChangeset
for help on using the changeset viewer.