Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2010, 9:49:56 AM (14 years ago)
Author:
dafrick
Message:

Some documenting done. Added files, that I had forgotten to add. Cleaned the old pickups out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/orxonox/interfaces/InterfaceCompilation.cc

    r6466 r6474  
    5959    {
    6060        RegisterRootObject(PickupCarrier);
     61       
     62    }
     63   
     64    PickupCarrier::~PickupCarrier()
     65    {
     66        for(std::set<Pickupable*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
     67        {
     68            (*it)->destroy();
     69        }
     70       
     71        this->pickups_.clear();
    6172    }
    6273
Note: See TracChangeset for help on using the changeset viewer.