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

List of float rect area values class property for use with XML loading. More...

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

Public Member Functions

void add (FloatRectArea area)
 Add float react area. More...
 
void forEach (Block ablock)
 For each float react area with block with FloatRectArea as parameter. More...
 
FloatRectArea getAt (int index)
 FloatRectArea at index. More...
 
int getCount ()
 Number of float rect areas. More...
 
FloatRectArea getRandom ()
 Get random float react area or null if no float react areas are present. More...
 
ECPFloatRectAreaList new (String name)
 Create property. More...
 
void removeAll ()
 Remove all float react areas. 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...
 
void preloadResources (ElementClass elementClass, PreloadCounter counter)
 Preload resources if supported. More...
 

Detailed Description

List of float rect area values class property for use with XML loading.

Member Function Documentation

◆ add()

void Dragengine.Scenery.ECPFloatRectAreaList.add ( FloatRectArea  area)

Add float react area.

◆ forEach()

void Dragengine.Scenery.ECPFloatRectAreaList.forEach ( Block  ablock)

For each float react area with block with FloatRectArea as parameter.

◆ getAt()

FloatRectArea Dragengine.Scenery.ECPFloatRectAreaList.getAt ( int  index)

FloatRectArea at index.

◆ getCount()

int Dragengine.Scenery.ECPFloatRectAreaList.getCount ( )

Number of float rect areas.

◆ getRandom()

FloatRectArea Dragengine.Scenery.ECPFloatRectAreaList.getRandom ( )

Get random float react area or null if no float react areas are present.

◆ new()

ECPFloatRectAreaList Dragengine.Scenery.ECPFloatRectAreaList.new ( String  name)

Create property.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ removeAll()

void Dragengine.Scenery.ECPFloatRectAreaList.removeAll ( )

Remove all float react areas.

◆ setValue()

void Dragengine.Scenery.ECPFloatRectAreaList.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: