Changeset 11059 for code/branches/cpp11_v3/src/orxonox/worldentities
- Timestamp:
- Jan 13, 2016, 10:19:21 PM (9 years ago)
- Location:
- code/branches/cpp11_v3/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/orxonox/worldentities/pawns/Pawn.cc
r11054 r11059 513 513 } 514 514 515 std::vector<WeaponPack *> * Pawn::getAllWeaponPacks()516 {517 if (this->weaponSystem_)518 return this->weaponSystem_->getAllWeaponPacks();519 else520 return 0;521 }522 523 515 void Pawn::addMunitionXML(Munition* munition) 524 516 { -
code/branches/cpp11_v3/src/orxonox/worldentities/pawns/Pawn.h
r11054 r11059 170 170 void addWeaponPackXML(WeaponPack * wPack); 171 171 WeaponPack * getWeaponPack(unsigned int index) const; 172 std::vector<WeaponPack *> * getAllWeaponPacks();173 172 174 173 void addMunitionXML(Munition* munition);
Note: See TracChangeset
for help on using the changeset viewer.