Drag[en]gine Script Module DragonScript
1.23
|
Children element class property. More...
Public Member Functions | |
void | addToGameWorld () |
Add element to game world. More... | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
Array | getAllowedElementClasses () |
Allowed element classes as Array of ElementClass. More... | |
Array | getChildren () |
Children as Array of ChildElement. More... | |
bool | getChildrenCreated () |
Children have been created. More... | |
ECBehaviorComposed | getECBehavior () |
Behavior. More... | |
ElementClassList | getElementClassList () |
Element class manager to look up element class in. More... | |
bool | getHasPreloaded () |
Property has been preloaded. More... | |
ECPChildren | new (String name, ElementClassList eclassList) |
Create property. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
Public Attributes | |
Array | pAllowedElementClasses |
PreloadCounter | pCounter |
ElementClassList | pElementClassList |
bool | pHasPreloaded |
Protected Member Functions | |
void | createAndAddChildren () |
Create and add children. More... | |
Children element class property.
Set first the list of allowed element classes.
void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.addToGameWorld | ( | ) |
Add element to game world.
|
protected |
Create and add children.
void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.dispose | ( | ) |
Dispose of element class property to break reference loops.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getAllowedElementClasses | ( | ) |
Allowed element classes as Array of ElementClass.
Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getChildren | ( | ) |
Children as Array of ChildElement.
bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getChildrenCreated | ( | ) |
Children have been created.
ECBehaviorComposed Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getECBehavior | ( | ) |
Behavior.
ElementClassList Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getElementClassList | ( | ) |
Element class manager to look up element class in.
bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getHasPreloaded | ( | ) |
Property has been preloaded.
ECPChildren Dragengine.Scenery.ECBehaviorComposed.ECPChildren.new | ( | String | name, |
ElementClassList | eclassList | ||
) |
Create property.
void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Writes the element to a file.
Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pAllowedElementClasses |
PreloadCounter Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pCounter |
ElementClassList Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pElementClassList |
bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pHasPreloaded |