Changeset 10688 for code/branches/fabienHS15/src/orxonox/worldentities
- Timestamp:
- Oct 24, 2015, 10:51:18 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/orxonox/worldentities/pawns/Pawn.cc
r10650 r10688 554 554 } 555 555 556 std::vector<WeaponPack *> * Pawn::getAllWeaponPacks() 557 { 558 if (this->weaponSystem_) 559 return this->weaponSystem_->getAllWeaponPacks(); 560 else 561 return 0; 562 } 563 556 564 //Tell the Map (RadarViewable), if this is a playership 557 565 void Pawn::startLocalHumanControl() -
code/branches/fabienHS15/src/orxonox/worldentities/pawns/Pawn.h
r10437 r10688 154 154 void addWeaponPackXML(WeaponPack * wPack); 155 155 WeaponPack * getWeaponPack(unsigned int index) const; 156 std::vector<WeaponPack *> * getAllWeaponPacks(); 156 157 157 158 virtual void addedWeaponPack(WeaponPack* wPack) {}
Note: See TracChangeset
for help on using the changeset viewer.