Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2016, 3:45:32 PM (8 years ago)
Author:
fvultier
Message:

Added a debug console command that allows visualization of the weaponSlots.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/weaponsystem/WeaponSystem.h

    r11071 r11176  
    5555            void removeWeaponSlot(WeaponSlot * wSlot);
    5656            WeaponSlot * getWeaponSlot(unsigned int index) const;
     57            inline const std::vector<WeaponSlot *>& getAllWeaponSlots() const
     58                { return weaponSlots_; }
    5759
    5860            // adding and removing WeaponSets
Note: See TracChangeset for help on using the changeset viewer.