Changeset 11153 for code/branches/sagerjFS16/src/orxonox/weaponsystem
- Timestamp:
- Mar 24, 2016, 3:56:35 PM (9 years ago)
- Location:
- code/branches/sagerjFS16/src/orxonox/weaponsystem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/orxonox/weaponsystem/WeaponMode.cc
r11108 r11153 169 169 } 170 170 171 void WeaponMode::release() 172 171 173 bool WeaponMode::reload() 172 174 { -
code/branches/sagerjFS16/src/orxonox/weaponsystem/WeaponSystem.cc
r11099 r11153 294 294 } 295 295 296 void WeaponSystem::release(unsigned int firemode) 297 { 298 std::map<unsigned int, WeaponSet *>::iterator it = this->weaponSets_.find(firemode); 299 if (it != this->weaponSets_.end() && it->second) 300 it->second->release(); 301 } 302 296 303 void WeaponSystem::reload() 297 304 { -
code/branches/sagerjFS16/src/orxonox/weaponsystem/WeaponSystem.h
r11071 r11153 76 76 void fire(unsigned int firemode); 77 77 void reload(); 78 void release(unsigned int firemode); 78 79 79 80 Munition * getMunition(SubclassIdentifier<Munition> * identifier);
Note: See TracChangeset
for help on using the changeset viewer.