Changeset 3221 in orxonox.OLD for orxonox/trunk/src/list.h
- Timestamp:
- Dec 19, 2004, 10:44:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/list.h
r3194 r3221 106 106 void tList<T>::add(WorldEntity* entity) 107 107 { 108 printf("tList<T>::add() \n");109 108 listElement* el = new listElement; 110 109 el->prev = this->last; … … 128 127 { 129 128 if( this->currentEl->curr == entity) 130 { 131 printf("tList<T>::remove() - object found\n"); 132 129 { 133 130 if( this->currentEl->prev == NULL ) this->first = this->currentEl->next; 134 131 else this->currentEl->prev->next = this->currentEl->next; … … 150 147 void tList<T>::destroy() 151 148 { 152 printf("tList<T>::clear() - clearing all world objects, releasing mem\n");153 149 this->currentEl = this->first; 154 150 while(this->currentEl != NULL)
Note: See TracChangeset
for help on using the changeset viewer.