Changeset 6972 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Feb 2, 2006, 10:18:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r6931 r6972 297 297 } 298 298 299 /** 300 * @brief does the same as the funtion inclreaseAmmunition, added four your convenience 301 * @param weapon, the Weapon to read the ammo-info about. 302 * @param ammo how much ammo to add. 303 */ 304 float WeaponManager::inclreaseAmmunition(const Weapon* weapon, float ammo) 305 { 306 assert (weapon != NULL); 307 return this->increaseAmmunition(weapon->getLeafClassID(), ammo); 308 309 } 299 310 300 311 … … 503 514 } 504 515 516 CountPointer<AmmoContainer>& WeaponManager::getAmmoContainer(const Weapon* weapon) 517 { 518 assert (weapon != NULL); 519 return (this->getAmmoContainer(weapon->getLeafClassID())); 520 } 521 505 522 506 523 /**
Note: See TracChangeset
for help on using the changeset viewer.