Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECBehaviorComposed.ECPChildren Class Reference

Children element class property. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorComposed.ECPChildren:
Dragengine.Scenery.ElementClassProperty

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...
 

Detailed Description

Children element class property.

Set first the list of allowed element classes.

Member Function Documentation

◆ addToGameWorld()

void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.addToGameWorld ( )

Add element to game world.

◆ createAndAddChildren()

void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.createAndAddChildren ( )
protected

Create and add children.

◆ dispose()

void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.dispose ( )

Dispose of element class property to break reference loops.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ getAllowedElementClasses()

Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getAllowedElementClasses ( )

Allowed element classes as Array of ElementClass.

◆ getChildren()

Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getChildren ( )

Children as Array of ChildElement.

◆ getChildrenCreated()

bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getChildrenCreated ( )

Children have been created.

◆ getECBehavior()

ECBehaviorComposed Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getECBehavior ( )

Behavior.

◆ getElementClassList()

ElementClassList Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getElementClassList ( )

Element class manager to look up element class in.

◆ getHasPreloaded()

bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.getHasPreloaded ( )

Property has been preloaded.

◆ new()

ECPChildren Dragengine.Scenery.ECBehaviorComposed.ECPChildren.new ( String  name,
ElementClassList  eclassList 
)

Create property.

◆ setValue()

void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.setValue ( Object  value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ writeToFile()

void Dragengine.Scenery.ECBehaviorComposed.ECPChildren.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Writes the element to a file.

Member Data Documentation

◆ pAllowedElementClasses

Array Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pAllowedElementClasses

◆ pCounter

PreloadCounter Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pCounter

◆ pElementClassList

ElementClassList Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pElementClassList

◆ pHasPreloaded

bool Dragengine.Scenery.ECBehaviorComposed.ECPChildren.pHasPreloaded

The documentation for this class was generated from the following file: