- Timestamp:
- Jul 8, 2012, 5:26:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/MetaPickup.h
r7547 r9312 69 69 70 70 The default value is <em>none</em>, which basically does nothing. 71 71 72 72 The parameter <b>activation type</b> can be used to specify, whether the MetaPickup is used upon pickup (<em>immediate</em>) or not (<em>onUse</em>). With <em>immediate</em> being the default. 73 73 … … 101 101 @return Returns an enum with the meta type of the MetaPickup. 102 102 */ 103 inline pickupMetaType::Value getMetaType Direct(void) const103 inline pickupMetaType::Value getMetaType(void) const 104 104 { return this->metaType_; } 105 const std::string& getMetaType (void) const; //!< Get the meta type of this MetaPickup.105 const std::string& getMetaTypeAsString(void) const; //!< Get the meta type of this MetaPickup. 106 106 107 107 protected: … … 112 112 @param type The meta type as an enum. 113 113 */ 114 inline void setMetaType Direct(pickupMetaType::Value type)114 inline void setMetaType(pickupMetaType::Value type) 115 115 { this->metaType_ = type; } 116 void setMetaType (const std::string& type); //!< Set the meta type of this MetaPickup.116 void setMetaTypeAsString(const std::string& type); //!< Set the meta type of this MetaPickup. 117 117 118 118 private:
Note: See TracChangeset
for help on using the changeset viewer.