Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4322 in orxonox.OLD for orxonox/trunk/src/util/object_manager.cc


Ignore:
Timestamp:
May 27, 2005, 1:27:02 AM (20 years ago)
Author:
patrick
Message:

now the objectmanagment works smoothly with the garbage collection: shoots (projectiles) are now precached (100 pieces) used from this pool and recyled :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/object_manager.cc

    r4320 r4322  
    4040}
    4141
     42
    4243/**
    4344   \brief the singleton reference to this class
     
    6667
    6768
    68 void ObjectManager::addToDeadList(classList index, BaseObject* object)
     69void ObjectManager::addToDeadList(int index, BaseObject* object)
    6970{
    7071  if( likely(this->managedObjectList[index] != NULL))
     
    7576
    7677
    77 BaseObject* ObjectManager::getFromDeadList(classList index, int number)
     78BaseObject* ObjectManager::getFromDeadList(int index, int number)
    7879{
    7980  if( likely(this->managedObjectList[index] != NULL))
Note: See TracChangeset for help on using the changeset viewer.