- Timestamp:
- May 11, 2009, 6:03:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/pickup/BaseItem.h
r2917 r2972 39 39 #include "core/BaseObject.h" 40 40 41 // tolua_begin 41 42 namespace orxonox 42 43 { … … 51 52 class _OrxonoxExport BaseItem : public BaseObject 52 53 { 54 // tolua_end 53 55 public: 54 56 BaseItem(BaseObject* creator); 55 57 virtual ~BaseItem(); 58 59 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< XMLPort 56 60 57 61 /** … … 116 120 inline void setPickupIdentifier(const std::string& identifier) 117 121 { this->pickupIdentifier_ = identifier; } 122 123 // GUI stuff 124 virtual const std::string& getGUIText() 125 { return this->guiText_; } 126 inline void setGUIText(const std::string& text) 127 { this->guiText_ = text; } 128 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() 135 { return this->guiImage_; } 136 inline void setGUIImage(const std::string& image) 137 { this->guiImage_ = image; } 118 138 private: 119 139 Pawn* owner_; //!< The current owner of the item. … … 127 147 */ 128 148 std::string pickupIdentifier_; 149 150 std::string guiText_; 151 std::string guiTooltip_; 152 std::string guiImage_; 129 153 }; 130 154 }
Note: See TracChangeset
for help on using the changeset viewer.