Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 2:05:30 AM (15 years ago)
Author:
landauf
Message:

Added destroy() function to OrxonoxClass.
Removed destroy() functions from some subclasses.
Expanded Timer to accept Functors of other classes too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/modules/weapons/MuzzleFlash.cc

    r5738 r5791  
    4141        RegisterObject(MuzzleFlash);
    4242        this->setScale(0.1f);
    43        
     43
    4444        this->delayTimer_.setTimer(0.1f, false, this, createExecutor(createFunctor(&MuzzleFlash::destroy)));
    45 
    4645    }
    47 
    48     void MuzzleFlash::destroy()
    49     {
    50         delete this;
    51     }
    52  
    5346}
Note: See TracChangeset for help on using the changeset viewer.