Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 4 and Version 5 of code/doc/MetaObjectList


Ignore:
Timestamp:
Sep 27, 2008, 2:50:17 AM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/MetaObjectList

    v4 v5  
    44== Description ==
    55
    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.
     6Every 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
     8The !MetaObjectList of an object is located in [wiki:OrxonoxClass].