Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2005, 3:11:36 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: new Definitions in the WeaponManager-class

File:
1 edited

Legend:

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

    r4947 r4949  
    9090    /** @returns true if the weapon must be drawn */
    9191    inline bool isVisible() const { return (this->currentState != WS_INACTIVE || !this->hideInactive)?true:false; };
     92    /** @returns true if the Weapon is chargeable */
     93    inline bool isChargeable() const { return this->chargeable; };
    9294
    9395    // FUNCTIONS TO SET THE WEAPONS PROPERTIES.
Note: See TracChangeset for help on using the changeset viewer.