- Timestamp:
- Dec 8, 2008, 2:36:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/weapons/LaserGun.cc
r2347 r2354 83 83 void LaserGun::XMLPort(Element& xmlelement, XMLPort::Mode mode) 84 84 { 85 85 SUPER(LaserGun, XMLPort, xmlelement, mode); 86 XMLPortParam(LaserGun, "munitionType", setMunitionType, getMunitionType, xmlelement, mode); 86 87 } 87 88 89 void LaserGun::setMunitionType(std::string munitionType) 90 { 91 COUT(0) << "LaserGun::setMunitionType (XMLPort) "<< munitionType << std::endl; 92 this->munitionType_ = munitionType; } 88 93 94 const std::string LaserGun::getMunitionType() 95 { return this->munitionType_; } 89 96 90 97 }
Note: See TracChangeset
for help on using the changeset viewer.