- Timestamp:
- Feb 1, 2006, 1:26:58 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r6920 r6931 286 286 return true; 287 287 } 288 289 /** 290 * @brief increases the Energy of the WeaponContainer of type (projectileType) 291 * @param projectileType the type of weapon to increase Energy from 292 * @param ammo the ammo to increase 293 */ 294 float WeaponManager::increaseAmmunition(ClassID projectileType, float ammo) 295 { 296 return this->getAmmoContainer(projectileType)->increaseEnergy(ammo); 297 } 298 299 288 300 289 301 /** -
trunk/src/world_entities/weapons/weapon_manager.h
r6803 r6931 86 86 void changeWeaponConfig(int weaponConfig); 87 87 88 float addAmmunition(ClassID projectileType, float ammo);88 float increaseAmmunition(ClassID projectileType, float ammo); 89 89 90 90
Note: See TracChangeset
for help on using the changeset viewer.