- 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.cc
r2917 r2972 35 35 36 36 #include "PickupCollection.h" 37 38 #include "core/CoreIncludes.h" 39 #include "core/XMLPort.h" 37 40 #include "objects/worldentities/pawns/Pawn.h" 38 41 … … 54 57 { 55 58 } 59 60 /** 61 @brief XMLPort for BaseItem. 62 @param xmlelement Element of the XML-file. 63 @param mode XMLPort mode to use. 64 */ 65 void BaseItem::XMLPort(Element& xmlelement, XMLPort::Mode mode) 66 { 67 SUPER(BaseItem, XMLPort, xmlelement, mode); 68 69 XMLPortParam(BaseItem, "guiText", setGUIText, getGUIText, xmlelement, mode); 70 XMLPortParam(BaseItem, "guiTooltip", setGUITooltip, getGUITooltip, xmlelement, mode); 71 XMLPortParam(BaseItem, "guiImage", setGUIImage, getGUIImage, xmlelement, mode); 72 } 73 56 74 /** 57 75 @brief Method to add the item to a pawn.
Note: See TracChangeset
for help on using the changeset viewer.