Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 11, 2005, 5:44:41 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: hiding the mouse through the graphicsEngine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon.h

    r4830 r4831  
    6969/**
    7070 * This is used as a container for all the different kinds of weapons that may exist
    71  * Animations/Sounds/etc. will be handled in the Extensions of this class.
    7271 */
    7372class Weapon : public WorldEntity
     
    122121  float                times[WS_STATE_COUNT];            //!< Times to stay in the different States @see WeaponState
    123122  SoundBuffer*         soundBuffers[WA_ACTION_COUNT];    //!< SoundBuffers for all actions @see WeaponAction
    124 
     123  Animation3D*         animation[WS_STATE_COUNT];        //!< Animations for all the States (you can say yourself on what part of the gun this animation acts).
    125124
    126125
     
    130129
    131130 private:
    132   bool                 enabled;                          //<! states if the weapon is enabled or not
    133   Projectile*          projectile;                       //<! the projectile used for this weapon
     131   WeaponState          state;                           //!< The state this weapon is in.
     132   bool                 enabled;                         //<! states if the weapon is enabled or not
     133   Projectile*          projectile;                      //<! the projectile used for this weapon
    134134  //WeaponSound sound;
    135135};
Note: See TracChangeset for help on using the changeset viewer.