Changeset 7785 in orxonox.OLD for trunk/src/util
- Timestamp:
- May 24, 2006, 3:17:19 AM (19 years ago)
- Location:
- trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/object_manager.cc
r7370 r7785 64 64 while(!this->objectLists[i].empty()) 65 65 delete this->objectLists[i].front(); 66 67 // delete reflectin list 68 while( !this->reflectionList.empty()) 69 delete this->reflectionList.front(); 66 70 } 67 71 -
trunk/src/util/object_manager.h
r7368 r7785 94 94 static const char* OMListToString(OM_LIST omList); 95 95 96 97 void toReflectionList( WorldEntity* entity) { this->reflectionList.push_back(entity); } 98 /** @returns the list of all reflected objects in the world */ 99 EntityList& getReflectionList() { return this->reflectionList; } 100 /** @returns the static list of all reflected objects in the world */ 101 const EntityList& getReflectionList() const { return this->reflectionList; } 102 103 104 105 96 106 private: 97 107 const std::list<BaseObject>* pNodeList; //!< The List of PNodes. … … 100 110 101 111 static const char* objectManagerListNames[]; //!< Names of all the lists 112 113 EntityList reflectionList; //!< A list of all reflected objects in the world 102 114 }; 103 115
Note: See TracChangeset
for help on using the changeset viewer.