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

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

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

Public Member Functions

void forEach (Block ablock)
 Visit float rect areas using block. More...
 
FloatRectArea getAt (String name)
 FloatRectArea with String or null if not found. More...
 
int getCount ()
 Number of float rect areas. More...
 
Array getNames ()
 Array of String names. More...
 
ECPFloatRectAreaMap new (String name)
 Create property. More...
 
void removeAll ()
 Remove all float react areas. More...
 
void setAt (String name, FloatRectArea area)
 Add or replace float react area with name. 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

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

Similar to ECPFloatRectAreaList but uses a Dictionary mapping FloatRectArea to String.

Member Function Documentation

◆ forEach()

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

Visit float rect areas using block.

Block receives parameters String name and FloatRectArea area.

◆ getAt()

FloatRectArea Dragengine.Scenery.ECPFloatRectAreaMap.getAt ( String  name)

FloatRectArea with String or null if not found.

◆ getCount()

int Dragengine.Scenery.ECPFloatRectAreaMap.getCount ( )

Number of float rect areas.

◆ getNames()

Array Dragengine.Scenery.ECPFloatRectAreaMap.getNames ( )

Array of String names.

◆ new()

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

Create property.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ removeAll()

void Dragengine.Scenery.ECPFloatRectAreaMap.removeAll ( )

Remove all float react areas.

◆ setAt()

void Dragengine.Scenery.ECPFloatRectAreaMap.setAt ( String  name,
FloatRectArea  area 
)

Add or replace float react area with name.

◆ setValue()

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