Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2009, 5:05:18 PM (15 years ago)
Author:
polakma
Message:

now you can choose between shared munition and normal munition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weaponsystem/src/orxonox/objects/weaponSystem/WeaponSystem.h

    r2710 r2778  
    5353            //void fire();
    5454            void fire(WeaponMode::Enum fireMode);
    55             //void setActiveWeaponSet(unsigned int n);
    5655            void attachWeaponPack(WeaponPack * wPack, unsigned int firemode);
    5756            WeaponSet * getWeaponSetPointer(unsigned int n);
     
    5958            WeaponPack * getWeaponPackPointer(unsigned int n);
    6059            void setNewMunition(std::string munitionType, Munition * munitionToAdd);
     60            void setNewSharedMunition(std::string munitionType, Munition * munitionToAdd);
    6161            Munition * getMunitionType(std::string munitionType);
    6262
     
    7373            std::vector<WeaponSlot *> weaponSlots_;
    7474            std::vector<WeaponPack *> weaponPacks_;
     75            std::map<std::string, Munition *> munitionSharedSet_;
    7576            std::map<std::string, Munition *> munitionSet_;
    7677            WeaponSet *activeWeaponSet_;
Note: See TracChangeset for help on using the changeset viewer.