Changeset 6728 for code/trunk/src/modules/pickup/Pickup.h
- Timestamp:
- Apr 15, 2010, 1:15:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/Pickup.h
r6709 r6728 135 135 virtual bool createSpawner(void); //!< Facilitates the creation of a PickupSpawner upon dropping of the Pickupable. 136 136 137 bool startPickupTimer(float durationTime); 137 bool startPickupTimer(float durationTime); //!< Starts the pickup duration timer. 138 /** 139 @brief Get your Timer. 140 @return Returns a pointer to the Timer. 141 */ 142 inline Timer* getTimer(void) 143 { return &this->durationTimer_; } 138 144 145 /** 146 @brief The callback method for the Timer. 147 Can be overloaded to implement desired functionality. 148 */ 139 149 virtual void pickupTimerCallback(void) {} 140 150 … … 164 174 pickupDurationType::Value durationType_; //!< The duration type of the pickup. 165 175 176 //! Strings for the activation and duration types. 166 177 static const std::string activationTypeImmediate_s; 167 178 static const std::string activationTypeOnUse_s;
Note: See TracChangeset
for help on using the changeset viewer.