Drag[en]gine Script Module DragonScript
1.23
|
List of element classes. More...
Public Member Functions | |
void | add (ElementClass eclass) |
Add class. More... | |
void | dispose () |
Dispose of all classes. More... | |
ElementClass | find (Block ablock) |
Find element classes using block. More... | |
void | forEach (Block ablock) |
Visit element classes using block. More... | |
void | forEachCastable (Block ablock) |
Visit element classes using block if castable. More... | |
ElementClass | getNamed (String name) |
Named class or null if absent. More... | |
bool | has (ElementClass eclass) |
Element class is present. More... | |
bool | hasNamed (String name) |
Named class is present. More... | |
ElementClassList | new () |
Create element class manager. More... | |
void | remove (ElementClass eclass) |
Remove class. More... | |
void | removeAll () |
Remove all classes. More... | |
void | removeAllNoDispose () |
Remove all classes without calling ElementClass.dispose(). More... | |
void | removeNamed (String name) |
Remove named class if present. More... | |
void | removeNamedNoDispose (String name) |
Remove named class if present without calling ElementClass.dispose(). More... | |
List of element classes.
void Dragengine.Scenery.ElementClassList.add | ( | ElementClass | eclass | ) |
Add class.
void Dragengine.Scenery.ElementClassList.dispose | ( | ) |
Dispose of all classes.
ElementClass Dragengine.Scenery.ElementClassList.find | ( | Block | ablock | ) |
Find element classes using block.
Block parameter is of type ElementClass and returns true if found.
void Dragengine.Scenery.ElementClassList.forEach | ( | Block | ablock | ) |
Visit element classes using block.
Block parameter is of type ElementClass.
void Dragengine.Scenery.ElementClassList.forEachCastable | ( | Block | ablock | ) |
Visit element classes using block if castable.
Block is called only for classes castable to block parameter.
ElementClass Dragengine.Scenery.ElementClassList.getNamed | ( | String | name | ) |
Named class or null if absent.
bool Dragengine.Scenery.ElementClassList.has | ( | ElementClass | eclass | ) |
Element class is present.
bool Dragengine.Scenery.ElementClassList.hasNamed | ( | String | name | ) |
Named class is present.
ElementClassList Dragengine.Scenery.ElementClassList.new | ( | ) |
Create element class manager.
void Dragengine.Scenery.ElementClassList.remove | ( | ElementClass | eclass | ) |
Remove class.
Calls ElementClass.dispose().
void Dragengine.Scenery.ElementClassList.removeAll | ( | ) |
Remove all classes.
Calls all ElementClass.dispose().
void Dragengine.Scenery.ElementClassList.removeAllNoDispose | ( | ) |
Remove all classes without calling ElementClass.dispose().
void Dragengine.Scenery.ElementClassList.removeNamed | ( | String | name | ) |
Remove named class if present.
Calls ElementClass.dispose() if removed.
void Dragengine.Scenery.ElementClassList.removeNamedNoDispose | ( | String | name | ) |
Remove named class if present without calling ElementClass.dispose().