Changeset 4730 in orxonox.OLD for orxonox/trunk/src/util/loading/factory.cc
- Timestamp:
- Jun 29, 2005, 1:46:15 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/loading/factory.cc
r4729 r4730 35 35 this->setName(factoryName); 36 36 37 if (Factory::first == NULL) 38 Factory::first = this; 37 39 next = NULL; 38 40 39 41 initialize(); 40 42 } 43 44 Factory* Factory::first = NULL; 41 45 42 46 /** … … 55 59 56 60 /** 57 \brief generates the associated object from data58 */59 BaseObject* Factory::fabricate(const TiXmlElement* data)60 {61 return NULL;62 }63 64 /**65 61 \brief make this particular factory known to the LevelFactory 66 62 */ 67 63 void Factory::initialize() 68 64 { 69 #ifdef IS_ORXONOX70 65 GameLoader::getInstance()->registerFactory( this); 71 #endif /* IS_ORXONOX */72 66 } 73 67
Note: See TracChangeset
for help on using the changeset viewer.