Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECPBoolean Class Reference

Boolean value element class property for use with XML loading. More...

Inheritance diagram for Dragengine.Scenery.ECPBoolean:
Dragengine.Scenery.ElementClassProperty

Public Member Functions

void copyValue (ElementClass elementClass, ElementClassProperty property)
 Copy value from another element class property of the same type. More...
 
bool getValue ()
 Value. More...
 
bool getValue (StubWithProperties stub)
 Boolean value modified by stub property if present. More...
 
ECPBoolean new (String name, bool value)
 Create property. More...
 
void setValue (Object value)
 Set value of property from XML decoded value. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty
void dispose ()
 Dispose of element class property to break reference loops. More...
 
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...
 

Detailed Description

Boolean value element class property for use with XML loading.

Member Function Documentation

◆ copyValue()

void Dragengine.Scenery.ECPBoolean.copyValue ( ElementClass  elementClass,
ElementClassProperty  property 
)

Copy value from another element class property of the same type.

Version
1.17

◆ getValue() [1/2]

bool Dragengine.Scenery.ECPBoolean.getValue ( )

Value.

◆ getValue() [2/2]

bool Dragengine.Scenery.ECPBoolean.getValue ( StubWithProperties  stub)

Boolean value modified by stub property if present.

If named stub property is not present or empty string the stored value is returned. If the named stub property is present it is returned.

◆ new()

ECPBoolean Dragengine.Scenery.ECPBoolean.new ( String  name,
bool  value 
)

Create property.

◆ setValue()

void Dragengine.Scenery.ECPBoolean.setValue ( Object  value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.


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