Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4950 in orxonox.OLD for orxonox/trunk/src/util/fast_factory.h


Ignore:
Timestamp:
Jul 24, 2005, 12:36:58 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more loadability functionality in Weapon and FastFactory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/fast_factory.h

    r4947 r4950  
    6666    inline static FastFactory* getFirst() { return FastFactory::first; };
    6767
    68     static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL);
     68    static FastFactory* searchFastFactory(ClassID classID);
     69    static FastFactory* searchFastFactory(const char* fastFactoryName);
     70
     71    ClassID getStoredID() const { return this->storedClassID; };
    6972
    7073  protected:
     
    135138  tFastFactory<T>* tmpFac = NULL;
    136139  if (FastFactory::getFirst() != NULL)
    137     tmpFac = static_cast<tFastFactory<T>*>(FastFactory::getFirst()->searchFastFactory(classID, fastFactoryName));
     140    tmpFac = static_cast<tFastFactory<T>*>(FastFactory::getFirst()->searchFastFactory(classID));
    138141
    139142  if (tmpFac != NULL)
Note: See TracChangeset for help on using the changeset viewer.