Drag[en]gine Script Module DragonScript
1.21
|
List of anchored elements. More...
Public Member Functions | |
void | add (StringID id, Element element) |
Add anchored element. More... | |
void | dispose () |
Dispose of list. More... | |
void | forEach (Block ablock) |
Visit anchored elements with block with parameter Element. More... | |
Element | getAt (StringID id) |
Anchored element with identifier or null if absent. More... | |
int | getCount () |
Number of anchored elements. More... | |
bool | has (StringID id) |
Anchored element is present. More... | |
AnchoredElementList | new () |
Create anchored element list. More... | |
void | remove (StringID id) |
Remove anchored element. More... | |
void | removeAll () |
Remove all anchored elements. More... | |
List of anchored elements.
Allows registering Element instances using a unique name for example for use with conversations where it is not convenient to locate elements using their UniqueID.
Add anchored element.
void Dragengine.Utils.AnchoredElementList.dispose | ( | ) |
Dispose of list.
void Dragengine.Utils.AnchoredElementList.forEach | ( | Block | ablock | ) |
Visit anchored elements with block with parameter Element.
Anchored element with identifier or null if absent.
int Dragengine.Utils.AnchoredElementList.getCount | ( | ) |
Number of anchored elements.
bool Dragengine.Utils.AnchoredElementList.has | ( | StringID | id | ) |
Anchored element is present.
AnchoredElementList Dragengine.Utils.AnchoredElementList.new | ( | ) |
Create anchored element list.
void Dragengine.Utils.AnchoredElementList.remove | ( | StringID | id | ) |
Remove anchored element.
void Dragengine.Utils.AnchoredElementList.removeAll | ( | ) |
Remove all anchored elements.