Changeset 11071 for code/trunk/src/orxonox/weaponsystem/WeaponPack.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/weaponsystem/WeaponPack.h
r11052 r11071 44 44 virtual ~WeaponPack(); 45 45 46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 47 47 48 48 void fire(unsigned int weaponmode); … … 52 52 void removeWeapon(Weapon * weapon); 53 53 Weapon * getWeapon(unsigned int index) const; 54 std::vector<Weapon*>* getAllWeapons(); 54 inline const std::vector<Weapon*>& getAllWeapons() const 55 { return weapons_; } 55 56 56 57 inline size_t getNumWeapons() const
Note: See TracChangeset
for help on using the changeset viewer.