Changeset 10692 for code/branches/fabienHS15/src/orxonox
- Timestamp:
- Oct 25, 2015, 7:09:11 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
r10688 r10692 560 560 else 561 561 return 0; 562 } 562 } 563 564 Munition* Pawn::getMunition(SubclassIdentifier<Munition> * identifier) 565 { 566 if (weaponSystem_) 567 { 568 return weaponSystem_->getMunition(identifier); 569 } 570 571 return NULL; 572 } 563 573 564 574 //Tell the Map (RadarViewable), if this is a playership -
code/branches/fabienHS15/src/orxonox/worldentities/pawns/Pawn.h
r10688 r10692 155 155 WeaponPack * getWeaponPack(unsigned int index) const; 156 156 std::vector<WeaponPack *> * getAllWeaponPacks(); 157 158 Munition * getMunition(SubclassIdentifier<Munition> * identifier); 157 159 158 160 virtual void addedWeaponPack(WeaponPack* wPack) {}
Note: See TracChangeset
for help on using the changeset viewer.