Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 3:11:48 PM (15 years ago)
Author:
polakma
Message:

fixed WeaponPack attaching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponPack.h

    r2288 r2319  
    5454            void attachWeapon(Weapon *weapon);
    5555
     56            void setFireMode(unsigned int firemode);
     57            unsigned int getFireMode();
     58
     59            void addWeapon(Weapon * weapon);
     60            Weapon * getWeapon(unsigned int index);
     61
    5662            inline void setParentWeaponSystem(WeaponSystem *parentWeaponSystem)
    5763                { parentWeaponSystem_=parentWeaponSystem; }
     
    6268            std::vector<Weapon *> weapons_;
    6369            WeaponSystem *parentWeaponSystem_;
     70            unsigned int firemode_;
    6471    };
    6572}
Note: See TracChangeset for help on using the changeset viewer.