Changeset 10313 in orxonox.OLD for branches/mount_points/src/world_entities/mount_point.cc
- Timestamp:
- Jan 24, 2007, 12:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/world_entities/mount_point.cc
r10312 r10313 19 19 #include "util/loading/factory.h" 20 20 #include "util/loading/load_param.h" 21 #include "util/loading/load_param_xml.h" 22 21 23 22 24 … … 122 124 LoadParam(root, "OrxClass", this, MountPoint, setOrxClass) 123 125 .describe("Sets the class this mount points should host"); 124 } 125 126 127 LoadParamXML(root, "Details", this, MountPoint, loadDetails); 128 } 129 130 131 /** 132 * load the parameters from the world entity 133 * @param root the root element of this xml branche 134 */ 135 void MountPoint::loadDetails(const TiXmlElement* root) 136 { 137 if( this->_mount != NULL) 138 { 139 PRINTF(0)("Got detail informations\n"); 140 this->_mount->loadParams( root); 141 } 142 } 126 143 127 144
Note: See TracChangeset
for help on using the changeset viewer.