- Timestamp:
- Jul 18, 2012, 10:36:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/Pickup.h
r9313 r9318 105 105 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 106 106 107 virtual const std::string& getRepresentationName() const 108 { return this->representationName_; } 109 107 110 /** 108 111 @brief Get the activation type of the Pickup. … … 150 153 151 154 protected: 152 v oid initializeIdentifier(void);155 virtual bool createSpawner(void); //!< Facilitates the creation of a PickupSpawner upon dropping of the Pickupable. 153 156 154 virtual bool createSpawner(void); //!< Facilitates the creation of a PickupSpawner upon dropping of the Pickupable. 157 /** 158 @brief Sets the representation name which refers to the name of the PickupRepresentation that is used to represent this pickup. 159 */ 160 inline void setRepresentationName(const std::string& name) 161 { this->representationName_ = name; } 155 162 156 163 /** … … 173 180 void initialize(void); //!< Initializes the member variables. 174 181 182 std::string representationName_; //!< The name of the associated PickupRepresentation. 175 183 pickupActivationType::Value activationType_; //!< The activation type of the Pickup. 176 184 pickupDurationType::Value durationType_; //!< The duration type of the Pickup.
Note: See TracChangeset
for help on using the changeset viewer.