Changeset 10650 for code/trunk/src/orxonox/weaponsystem/Weapon.h
- Timestamp:
- Oct 12, 2015, 10:57:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/weaponsystem/Weapon.h
r9667 r10650 39 39 namespace orxonox 40 40 { 41 /** 42 @brief 43 A Weapon is a StaticEntity that can be attached to a WeaponSlot. A Weapon can shoot with different @ref orxonox::WeaponMode modes. 44 Imagine for example that a machine gun can shoot normal bullets, tracer bullets or even grenades. 45 */ 41 46 class _OrxonoxExport Weapon : public StaticEntity 42 47 { … … 53 58 WeaponMode* getWeaponmode(unsigned int index) const; 54 59 60 /** 61 @brief 62 This function is called by a @ref orxonox::WeaponPack if this Weapon is added to the WeaponPack. 63 */ 55 64 inline void setWeaponPack(WeaponPack * weaponPack) 56 65 { this->weaponPack_ = weaponPack; this->notifyWeaponModes(); } … … 58 67 { return this->weaponPack_; } 59 68 69 /** 70 @brief 71 This function is called by a @ref orxonox::WeaponSlot if this Weapon gets attached to the WeaponSlot. 72 */ 60 73 inline void setWeaponSlot(WeaponSlot * wSlot) 61 74 { this->weaponSlot_ = wSlot; }
Note: See TracChangeset
for help on using the changeset viewer.