Element

From Multi Theft Auto: Wiki
Revision as of 14:56, 5 May 2006 by EAi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • Objects
  • Players
  • Vehicles
  • Pickups
  • Markers
  • Blips
  • Radar areas
  • Checkpoints

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.