Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2005, 7:14:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/physics: merged the trunk back to the physics-branche
merged with command:
svn merge -r 4301:HEAD trunk/ branches/physics/
little conflict in particle-system resolved easily

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/util/garbage_collector.cc

    r4301 r4332  
    3838GarbageCollector::GarbageCollector ()
    3939{
    40    this->setClassName ("GarbageCollection");
     40   this->setClassID(CL_GARBAGE_COLLECTOR, "GarbageCollector");
    4141   this->time = 0;
    4242   this->delay = 1.5f; /* clean up all 5.0 seconds */
     
    139139          /* then finaly delete reference */
    140140          //delete entity;
    141           ObjectManager::getInstance()->addToDeadList(CL_TEST_BULLET, entity);
    142           ObjectManager::getInstance()->debug();
     141          ObjectManager::getInstance()->addToDeadList(entity->getClassID(), entity);
    143142        }
    144143      entity = iterator->nextElement();
     
    148147  PRINTF(3)("=============================\n");
    149148
     149  ObjectManager::getInstance()->debug();
     150
    150151  /* reset time to count again up to this->delay */
    151152  this->time = 0;
Note: See TracChangeset for help on using the changeset viewer.