Element: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
* [[Element/XML|XMLNodes]]
* [[Element/XML|XMLNodes]]
* [[Element/Client|Clients]]
* [[Element/Client|Clients]]
* [[Element/Spawnpoint|Spawnpoints]]


These are all stored internally in a [[Element tree|"tree" structure]], as such every element has a parent element, be in the ''root'' element, ''map'' or another element. This is purely for declaring the scope of function calls.
These are all stored internally in a [[Element tree|"tree" structure]], as such every element has a parent element, be in the ''root'' element, ''map'' or another element. This is purely for declaring the scope of function calls.


There are various functions for manipulating the layout of this element tree.
There are various functions for manipulating the layout of this element tree.

Revision as of 06:28, 22 August 2007

Dialog-information.png This article needs checking.

Reason(s): Need to make sure all elements are listed --Erorr404 21:44, 8 December 2006 (CST)

An element is a generic class that represents almost all in-game items. These include:

These are all stored internally in a "tree" structure, as such every element has a parent element, be in the root element, map or another element. This is purely for declaring the scope of function calls.

There are various functions for manipulating the layout of this element tree.