- Timestamp:
- Mar 19, 2009, 4:55:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponsystem/src/orxonox/objects/weaponSystem/WeaponSystem.cc
r2778 r2804 51 51 RegisterObject(WeaponSystem); 52 52 53 this->activeWeaponSet_ = 0;54 53 this->parentPawn_ = 0; 55 54 } … … 91 90 Munition * WeaponSystem::getMunitionType(std::string munitionType) 92 91 { 93 //COUT(0) << "WeaponSystem::getMunitionType " << munitionType << std::endl;94 92 std::map<std::string, Munition *>::const_iterator it = this->munitionSharedSet_.find(munitionType); 95 93 if (it != this->munitionSharedSet_.end()) … … 105 103 //n is the n'th weaponSet, starting with zero 106 104 //SpaceShip.cc only needs to have the keybinding to a specific Set-number n (=firemode) 105 //in future this could be well defined and not only for 3 different WeaponModes 107 106 void WeaponSystem::fire(WeaponMode::Enum n) 108 107 { … … 120 119 break; 121 120 } 122 //COUT(0) << "WeaponSystem::fire" << std::endl;123 121 if (set < (int)this->weaponSets_.size()) 124 //COUT(0) << "WeaponSystem::fire - after if" << std::endl;125 122 this->weaponSets_[set]->fire(); 126 123 }
Note: See TracChangeset
for help on using the changeset viewer.