Changeset 9869 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.h
r8844 r9869 39 39 */ 40 40 class WeaponManager : public BaseObject { 41 ObjectListDeclaration(WeaponManager); 41 42 42 43 //! an enumerator defining a Slot, where a Weapon can be stored inside. … … 89 90 void changeWeaponConfig(int weaponConfig); 90 91 91 float increaseAmmunition( ClassIDprojectileType, float ammo);92 float increaseAmmunition(const ClassID& projectileType, float ammo); 92 93 float inclreaseAmmunition(const Weapon* weapon, float ammo); 93 94 … … 106 107 // private: 107 108 int getNextFreeSlot(int configID, long capability = WTYPE_ALL); 108 CountPointer<AmmoContainer>& getAmmoContainer( ClassIDprojectileType);109 CountPointer<AmmoContainer>& getAmmoContainer(const ClassID& projectileType); 109 110 CountPointer<AmmoContainer>& getAmmoContainer(const Weapon* weapon); 110 111
Note: See TracChangeset
for help on using the changeset viewer.