Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

MetaObjectList

Description

Every object in the game is in at least one 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.

The MetaObjectList of an object is located in OrxonoxClass.

Illustration

The illustration shows how a list element is removed from the list.

Last modified 8 years ago Last modified on Apr 12, 2017, 11:16:36 PM

Attachments (1)

Download all attachments as: .zip