Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2015, 10:57:00 PM (9 years ago)
Author:
fvultier
Message:

There is now a spaceship that uses the gravity bomb. Minor documentation improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/weaponsystem/Weapon.h

    r9667 r10650  
    3939namespace orxonox
    4040{
     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    */   
    4146    class _OrxonoxExport Weapon : public StaticEntity
    4247    {
     
    5358            WeaponMode* getWeaponmode(unsigned int index) const;
    5459
     60            /**
     61            @brief
     62                This function is called by a @ref orxonox::WeaponPack if this Weapon is added to the WeaponPack.
     63            */
    5564            inline void setWeaponPack(WeaponPack * weaponPack)
    5665                { this->weaponPack_ = weaponPack; this->notifyWeaponModes(); }
     
    5867                { return this->weaponPack_; }
    5968
     69            /**
     70            @brief
     71                This function is called by a @ref orxonox::WeaponSlot if this Weapon gets attached to the WeaponSlot.
     72            */
    6073            inline void setWeaponSlot(WeaponSlot * wSlot)
    6174                { this->weaponSlot_ = wSlot; }
Note: See TracChangeset for help on using the changeset viewer.