Changes between Version 4 and Version 5 of code/doc/MetaObjectList
- Timestamp:
- Sep 27, 2008, 2:50:17 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/MetaObjectList
v4 v5 4 4 == Description == 5 5 6 The [wiki:MetaObjectList] stores all [wiki:ObjectList ObjectLists] (and the related entries) an [wiki:OrxonoxClass object] is stored in. This allows you to delete an object really fast. Read the Wiki-page of [wiki:ObjectList] for more information. 6 Every object in the game is in at least one [wiki:ObjectList]. Objects of inherited classes are in the list of the class and in the lists of all parents. When an object is deleted, it has to be removed from all ObjectLists. !MetaObjectList does this really fast by storing the list-elements when creating the object and connection the next and the previous list-element when deleting the object. Therefore we don't have to iterate through all ObjectLists to remove the object. 7 8 The !MetaObjectList of an object is located in [wiki:OrxonoxClass].