- Timestamp:
- May 20, 2009, 9:01:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/BaseItem.h
r2972 r3001 50 50 Daniel 'Huty' Haggenmueller 51 51 */ 52 class _OrxonoxExport BaseItem : public BaseObject 52 class _OrxonoxExport BaseItem 53 // tolua_end 54 : public BaseObject 55 // tolua_begin 53 56 { 54 57 // tolua_end … … 122 125 123 126 // GUI stuff 124 virtual const std::string& getGUIText() 125 { return this->guiText_; } 127 virtual const std::string& getGUIText() const; // tolua_export 126 128 inline void setGUIText(const std::string& text) 127 129 { this->guiText_ = text; } 128 130 129 virtual const std::string& getGUITooltip() 130 { return this->guiTooltip_; } 131 inline void setGUITooltip(const std::string& tooltip) 132 { this->guiTooltip_ = tooltip; } 133 134 virtual const std::string& getGUIImage() 131 virtual const std::string& getGUIImage() const 135 132 { return this->guiImage_; } 136 133 inline void setGUIImage(const std::string& image) … … 149 146 150 147 std::string guiText_; 151 std::string guiTooltip_;152 148 std::string guiImage_; 153 }; 154 } 149 }; // tolua_export 150 } // tolua_export 155 151 156 152 #endif /* _BaseItem_H__ */
Note: See TracChangeset
for help on using the changeset viewer.