Changeset 10698 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r10544 r10698 1 2 1 /* 3 2 orxonox - the future of 3D-vertical-scrollers … … 36 35 /** 37 36 * @brief this initializes the weaponManager for a given nnumber of weapon slots 38 * @param number of weapon slots of the model/ship <= 8(limitied)37 * @param number of weapon slots of the model/ship <= 10 (limitied) 39 38 */ 40 39 WeaponManager::WeaponManager(WorldEntity* parent) … … 146 145 BaseObject::loadParams(root); 147 146 148 LoadParam(root, "slot -count", this, WeaponManager, setSlotCount)147 LoadParam(root, "slotCount", this, WeaponManager, setSlotCount) 149 148 .describe("how many slots(cannons) the WeaponManager can handle"); 149 150 150 151 151 LOAD_PARAM_START_CYCLE(root, element); … … 156 156 } 157 157 LOAD_PARAM_END_CYCLE(element); 158 159 158 160 } 159 161 … … 357 359 * @param slotCapability the capability @see WeaponSlotCapability 358 360 */ 359 void WeaponManager::setSlotCapability(int slot, long slotCapability)361 void WeaponManager::setSlotCapability(int slot, unsigned long slotCapability) 360 362 { 361 363 if (slot > slotCount)
Note: See TracChangeset
for help on using the changeset viewer.