Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4730 in orxonox.OLD for orxonox/trunk/src/util/loading/factory.cc


Ignore:
Timestamp:
Jun 29, 2005, 1:46:15 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: loading fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/loading/factory.cc

    r4729 r4730  
    3535  this->setName(factoryName);
    3636
     37  if (Factory::first == NULL)
     38    Factory::first = this;
    3739  next = NULL;
    3840
    3941  initialize();
    4042}
     43
     44Factory* Factory::first = NULL;
    4145
    4246/**
     
    5559
    5660/**
    57    \brief generates the associated object from data
    58 */
    59 BaseObject* Factory::fabricate(const TiXmlElement* data)
    60 {
    61   return NULL;
    62 }
    63 
    64 /**
    6561   \brief make this particular factory known to the LevelFactory
    6662*/
    6763void Factory::initialize()
    6864{
    69 #ifdef IS_ORXONOX
    7065  GameLoader::getInstance()->registerFactory( this);
    71 #endif /* IS_ORXONOX */
    7266}
    7367
Note: See TracChangeset for help on using the changeset viewer.