- Timestamp:
- Jun 9, 2010, 9:32:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/pickup/items/DronePickup.h
r7034 r7127 47 47 48 48 namespace orxonox { 49 49 50 50 51 51 class _PickupExport DronePickup : public Pickup, public Tickable 52 52 { 53 53 public: 54 54 55 55 DronePickup(BaseObject* creator); //!< Constructor. 56 56 virtual ~DronePickup(); //!< Destructor. 57 57 58 58 virtual void XMLPort(Element& xmlelement, orxonox::XMLPort::Mode mode); //!< Method for creating a DronePickup object through XML. 59 59 60 60 virtual void changedUsed(void); //!< Is called when the pickup has transited from used to unused or the other way around. 61 61 virtual void clone(OrxonoxClass*& item); //!< Creates a duplicate of the input OrxonoxClass. 62 62 63 63 void setDroneTemplate(std::string templatename); 64 const std::string& getDroneTemplate() const; 65 64 const std::string& getDroneTemplate() const; 65 66 66 protected: 67 67 void initializeIdentifier(void); //!< Initializes the PickupIdentifier of this pickup. 68 68 69 69 private: 70 70 void initialize(void); //!< Initializes the member variables. 71 71 std::string droneTemplate_; 72 72 Pawn* carrierToPawnHelper(void); //!< Helper to transform the PickupCarrier to a Pawn, and throw an error message if the conversion fails. 73 74 73 75 74 75 76 76 }; 77 77 }
Note: See TracChangeset
for help on using the changeset viewer.