Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ECPRectAreaMap Class Reference

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

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

Public Member Functions

void forEach (Block ablock)
 Visit rect areas using block.
RectArea getAt (String name)
 RectArea with String or null if not found.
int getCount ()
 Number of rect areas.
Array getNames ()
 Array of String names.
ECPRectAreaMap new (String name)
 Create property.
void removeAll ()
 Remove all react areas.
void setAt (String name, RectArea area)
 Add or replace react area with name.
void setValue (Object value)
 Set value of property from XML decoded value.
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty
void dispose ()
 Dispose of element class property to break reference loops.
String getName ()
 Name.
bool logPreloadProblems (ElementClass elementClass, Console console)
 Log preloading problems.
void preloadResources (ElementClass elementClass, PreloadCounter counter)
 Preload resources if supported.

Detailed Description

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

Similar to ECPRectAreaList but uses a Dictionary mapping RectArea to String.

Member Function Documentation

◆ forEach()

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

Visit rect areas using block.

Block receives parameters String name and RectArea area.

Referenced by setAt(), and setValue().

◆ getAt()

RectArea Dragengine.Scenery.ECPRectAreaMap.getAt ( String name)

RectArea with String or null if not found.

References getCount().

Referenced by getNames().

◆ getCount()

int Dragengine.Scenery.ECPRectAreaMap.getCount ( )

Number of rect areas.

References getCount().

Referenced by getAt(), and getCount().

◆ getNames()

Array Dragengine.Scenery.ECPRectAreaMap.getNames ( )

Array of String names.

References getAt(), and getNames().

Referenced by getNames().

◆ new()

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

Create property.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

References new().

Referenced by new().

◆ removeAll()

void Dragengine.Scenery.ECPRectAreaMap.removeAll ( )

Remove all react areas.

Referenced by setValue().

◆ setAt()

void Dragengine.Scenery.ECPRectAreaMap.setAt ( String name,
RectArea area )

Add or replace react area with name.

References forEach().

Referenced by setValue().

◆ setValue()

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

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

References forEach(), removeAll(), setAt(), and setValue().

Referenced by setValue().


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