Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 23, 2005, 11:17:27 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ProjectileFactory now handled in Weapon-class

File:
1 edited

Legend:

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

    r4941 r4947  
    6464
    6565    /** @returns the first FastFactory */
    66     static FastFactory* getFirst()
    67     {
    68       return FastFactory::first;
    69     };
     66    inline static FastFactory* getFirst() { return FastFactory::first; };
     67
     68    static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL);
    7069
    7170  protected:
     
    7372
    7473    /** sets the Next factory in the list @param nextFactory the next factory */
    75     inline void setNext( FastFactory* nextFastFactory)
    76     {
    77       this->next = nextFastFactory;
    78     };
     74    inline void setNext( FastFactory* nextFastFactory) { this->next = nextFastFactory; };
    7975    /** @returns the next FastFactory */
    80     FastFactory* getNext() const
    81       {
    82         return this->next;
    83       };
     76    FastFactory* getNext() const { return this->next; };
    8477
    8578    /** generates a new Object of the Class T */
    8679    virtual void fabricate() = NULL;
    87     static FastFactory* searchFastFactory(ClassID classID, const char* fastFactoryName = NULL);
    8880
    8981  private:
Note: See TracChangeset for help on using the changeset viewer.