- 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/WeaponSet.cc
r2319 r2327 39 39 namespace orxonox 40 40 { 41 CreateFactory(WeaponSet); 42 41 43 WeaponSet::WeaponSet(BaseObject* creator, int k) : BaseObject(creator) 42 44 { … … 53 55 void WeaponSet::attachWeaponPack(WeaponPack *wPack) 54 56 { 57 COUT(0) << "WeaponSet::attachWeaponPack" << std::endl; 55 58 if ( this->parentWeaponSystem_->getWeaponSlotSize()>0 && wPack->getSize()>0 && ( wPack->getSize() <= this->parentWeaponSystem_->getWeaponSlotSize() ) ) 56 59 { … … 75 78 { 76 79 //fires all WeaponSlots available for this weaponSet attached from the WeaponPack 80 COUT(0) << "WeaponSet::fire" << std::endl; 77 81 this->attachedWeaponPack_->fire(); 78 82 }
Note: See TracChangeset
for help on using the changeset viewer.