Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 4:30:30 PM (15 years ago)
Author:
dafrick
Message:

Added additional pickup (TestPickup), and did some bug $fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/PickupSpawner.cc

    r6499 r6512  
    216216        {
    217217            //TODO: Nicer? Does this even work?
    218             this->respawnTimer_.setTimer(this->respawnTime_, false, createExecutor(createFunctor(&PickupSpawner::respawnTimerCallback, this)));
     218            this->startRespawnTimer();
    219219
    220220            this->setActive(false);
     
    227227            this->destroy();
    228228        }
     229    }
     230   
     231    /**
     232    @brief
     233        Starts the respawn timer.
     234    */
     235    void PickupSpawner::startRespawnTimer(void)
     236    {
     237        this->respawnTimer_.setTimer(this->respawnTime_, false, createExecutor(createFunctor(&PickupSpawner::respawnTimerCallback, this)));
    229238    }
    230239   
Note: See TracChangeset for help on using the changeset viewer.