Changeset 4937 in orxonox.OLD for orxonox/trunk/src/util/object_manager.cc
- Timestamp:
- Jul 22, 2005, 7:37:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/object_manager.cc
r4936 r4937 36 36 this->storedClassID = classID; 37 37 this->next = NULL; 38 39 this->deadList = NULL; 40 this->unusedContainers = NULL; 38 41 39 42 this->storedDeadObjects = 0; … … 139 142 140 143 144 void FastFactory::prepare(unsigned int count) 145 { 146 /* if (this->storedDeadObjects + this->storedLivingObjects >= count) 147 { 148 PRINTF(3)("not creating new Objects for class %s, because the requested count already exists\n", this->getClassName()); 149 }*/ 150 for (int i = this->storedDeadObjects; i < count; i++) 151 { 152 this->fabricate(); 153 } 154 } 155 156 141 157 BaseObject* FastFactory::resurect(ClassID classID) 142 158 {
Note: See TracChangeset
for help on using the changeset viewer.