GUIGroup
new GUIGroup(id, options, guimanager)
Creates a new GUIGroup
Parameters
Name | Type | Description |
---|---|---|
Name name | Type string | Description The name element |
Name options | Type json | Description Options of element |
Name guimanager | Type GUIManager | Description The gui manager |
Options
- x: position left of group (in pixel)
- y: position top of group (in pixel)
Methods
add(GUIElement) → void
add element in the GUIGroup
setVisible(bool) → void
Set this GUI element to visible or invisible
isVisible() → void
Returns element if is visible or no
dispose() → void
Dispose the GUIGroup, and delete all elements of group.