Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 19, 2011, 10:27:15 PM (13 years ago)
Author:
jo
Message:

Backup before taking the next step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/orxonox/weaponsystem/WeaponSlot.h

    r5781 r8766  
    3535namespace orxonox
    3636{
     37        /**
     38        @brief
     39            The a WeaponSlot defines where a @ref orxonox::Weapon "Weapon" is placed on a pawn. (A WeaponSlot is a StaticEntity)
     40            In a WeaponSlot there can be only one "Weapon", but a Weapon can have several @ref orxonox::WeaponMode "WeaponModes".
     41            A WeaponMode is what one intuitively imagines as weapon. (E.g. RocketFire, LightningGun, LaserFire are weaponmodes)
     42
     43            A WeaponSlot is created in XML (in a weaponsettings file), which can be done in the following fashion:
     44            @code
     45            <weaponslots>
     46              <WeaponSlot position="-15.0,-1.5,0" />
     47              <WeaponSlot position=" 15.0,-1.5,0" />
     48              <WeaponSlot position="    0,   0,0" />
     49            </weaponslots>
     50
     51        @author
     52            Martin Polak
     53
     54        @ingroup Weaponsystem
     55    */
    3756    class _OrxonoxExport WeaponSlot : public StaticEntity
    3857    {
Note: See TracChangeset for help on using the changeset viewer.