valid :: boolean [R] | Is this object valid? |
player :: LuaPlayer [R] | The player who owns this gui. |
top :: LuaGuiElement [R] | The top part of the GUI. |
left :: LuaGuiElement [R] | The left part of the GUI. |
center :: LuaGuiElement [R] | The center part of the GUI. |
The root of the GUI. This type houses the root elements, top
, left
and center
, to which
other elements can be added to be displayed on screen.
Is this object valid? This Lua object holds a reference to an object within
the game engine. It is possible that the game-engine object is removed whilst
a mod still holds the corresponding Lua object. If that happens, the object
becomes invalid, i.e. this attribute will be false
. Mods are advised to
check for object validity if any change to the game state might have occurred
between the creation of the Lua object and its access.
The player who owns this gui.
The top part of the GUI. It is a flow element.
The left part of the GUI. It is a flow element.
The center part of the GUI. It is a flow element.