Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 4:59:16 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the activation and deactivation-phase of the Weapon work too.

File:
1 edited

Legend:

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

    r4906 r4926  
    7676class WeaponManager : public BaseObject {
    7777  public:
    78     WeaponManager(int nrOfSlots = 2);
     78    WeaponManager(int slotCount);
    7979    WeaponManager(const TiXmlElement* root);
    8080    ~WeaponManager();
     
    8484    void loadWeapons(const TiXmlElement* root);
    8585
    86     void setSlotCount(int nrOfSlots);
     86    void setSlotCount(int slotCount);
    8787
    8888    void addWeapon(Weapon* weapon, int configID = WM_CONFIG0, int slotID = WM_FREE_SLOT);
     
    101101    tAnimation<Crosshair>*  crossHairSizeAnim;
    102102
    103     int                     nrOfSlots;               //<! number of weapon slots a ship has
     103    int                     slotCount;               //<! number of weapon slots a ship has
    104104    int                     currConfID;              //<! the currently selected config
    105105    weaponConfig            configs[4];              //<! a list of four configurations
Note: See TracChangeset for help on using the changeset viewer.