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

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

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

Public Member Functions

void add (RectArea area)
 Add react area. More...
 
void forEach (Block ablock)
 For each react area with block with RectArea as parameter. More...
 
RectArea getAt (int index)
 RectArea at index. More...
 
int getCount ()
 Number of rect areas. More...
 
RectArea getRandom ()
 Get random react area or null if no react areas are present. More...
 
ECPRectAreaList new (String name)
 Create property. More...
 
void removeAll ()
 Remove all 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 rect area values class property for use with XML loading.

Member Function Documentation

◆ add()

void Dragengine.Scenery.ECPRectAreaList.add ( RectArea  area)

Add react area.

◆ forEach()

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

For each react area with block with RectArea as parameter.

◆ getAt()

RectArea Dragengine.Scenery.ECPRectAreaList.getAt ( int  index)

RectArea at index.

◆ getCount()

int Dragengine.Scenery.ECPRectAreaList.getCount ( )

Number of rect areas.

◆ getRandom()

RectArea Dragengine.Scenery.ECPRectAreaList.getRandom ( )

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

◆ new()

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

Create property.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ removeAll()

void Dragengine.Scenery.ECPRectAreaList.removeAll ( )

Remove all react areas.

◆ setValue()

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