- Timestamp:
- Jul 18, 2012, 10:36:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/DronePickup.cc
r9313 r9318 39 39 40 40 #include "controllers/DroneController.h" 41 #include "pickup/PickupIdentifier.h"42 41 #include "worldentities/Drone.h" 43 42 #include "worldentities/pawns/Pawn.h" … … 81 80 /** 82 81 @brief 83 Initializes the PickupIdentifier of this pickup.84 */85 void DronePickup::initializeIdentifier(void)86 {87 this->pickupIdentifier_->addParameter("droneTemplate", this->getDroneTemplate());88 }89 90 /**91 @brief92 82 Method for creating a DronePickup object through XML. 93 83 */ … … 96 86 SUPER(DronePickup, XMLPort, xmlelement, mode); 97 87 XMLPortParam(DronePickup, "droneTemplate", setDroneTemplate, getDroneTemplate, xmlelement, mode); 98 99 this->initializeIdentifier();100 88 } 101 89 … … 198 186 DronePickup* pickup = orxonox_cast<DronePickup*>(item); 199 187 pickup->setDroneTemplate(this->getDroneTemplate()); 200 201 pickup->initializeIdentifier();202 188 } 203 189 }
Note: See TracChangeset
for help on using the changeset viewer.