Changeset 6561 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jan 18, 2006, 3:00:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.h
r6512 r6561 71 71 PNode* getParent() const { return this->parent; }; 72 72 73 void addWeapon(Weapon* weapon, int configID = -1, int slotID = -1); 73 bool addWeapon(Weapon* weapon); 74 bool addWeapon(Weapon* weapon, int configID = -1, int slotID = -1); 74 75 void removeWeapon(Weapon* weapon, int configID = -1); 75 76 Weapon* getWeapon(int slotID) const { return (slotID >= 0 && slotID < this->slotCount)? this->currentSlotConfig[slotID].nextWeapon: NULL; };
Note: See TracChangeset
for help on using the changeset viewer.