Changeset 4926 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jul 21, 2005, 4:59:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon_manager.h
r4906 r4926 76 76 class WeaponManager : public BaseObject { 77 77 public: 78 WeaponManager(int nrOfSlots = 2);78 WeaponManager(int slotCount); 79 79 WeaponManager(const TiXmlElement* root); 80 80 ~WeaponManager(); … … 84 84 void loadWeapons(const TiXmlElement* root); 85 85 86 void setSlotCount(int nrOfSlots);86 void setSlotCount(int slotCount); 87 87 88 88 void addWeapon(Weapon* weapon, int configID = WM_CONFIG0, int slotID = WM_FREE_SLOT); … … 101 101 tAnimation<Crosshair>* crossHairSizeAnim; 102 102 103 int nrOfSlots; //<! number of weapon slots a ship has103 int slotCount; //<! number of weapon slots a ship has 104 104 int currConfID; //<! the currently selected config 105 105 weaponConfig configs[4]; //<! a list of four configurations
Note: See TracChangeset
for help on using the changeset viewer.