Changeset 3525 in orxonox.OLD for orxonox/branches/levelloader/src/factory.h
- Timestamp:
- Mar 13, 2005, 6:59:20 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/factory.h
r3504 r3525 8 8 9 9 #include "stdincl.h" 10 #include "xmlparser/tinyxml.h"11 #include "xmlparser/tinystr.h"12 #include "base_object.h"13 #include "orxonox.h"14 10 #include "world.h" 15 11 … … 19 15 ~CLASSFactory (); \ 20 16 private: \ 21 BaseObject* fabricate( TiX MLElement* root) \17 BaseObject* fabricate( TiXmlElement* root) \ 22 18 { \ 23 19 if(!strcmp(root->Value(), getClassname())) return new CLASS( root); \ … … 38 34 ~Factory (); 39 35 40 virtual BaseObject* fabricate( TiX MLElement* root);36 virtual BaseObject* fabricate( TiXmlElement* root); 41 37 void initialize(); 42 38 void registerFactory( Factory* factory); … … 53 49 // helper function 54 50 55 const char* grabParameter( TiX MLElement* root, const char* name);51 const char* grabParameter( TiXmlElement* root, const char* name); 56 52 57 #endif /* _LEVELFACTORY_H */ 53 #endif /* _FACTORY_H */ 54
Note: See TracChangeset
for help on using the changeset viewer.