Drag[en]gine Script Module DragonScript
1.23
|
Map of rect area values class property for use with XML loading. More...
Public Member Functions | |
void | forEach (Block ablock) |
Visit rect areas using block. More... | |
RectArea | getAt (String name) |
RectArea with String or null if not found. More... | |
int | getCount () |
Number of rect areas. More... | |
Array | getNames () |
Array of String names. More... | |
ECPRectAreaMap | new (String name) |
Create property. More... | |
void | removeAll () |
Remove all react areas. More... | |
void | setAt (String name, RectArea area) |
Add or replace 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... | |
Map of rect area values class property for use with XML loading.
Similar to ECPRectAreaList but uses a Dictionary mapping RectArea to String.
void Dragengine.Scenery.ECPRectAreaMap.forEach | ( | Block | ablock | ) |
Visit rect areas using block.
Block receives parameters String name and RectArea area.
RectArea Dragengine.Scenery.ECPRectAreaMap.getAt | ( | String | name | ) |
RectArea with String or null if not found.
int Dragengine.Scenery.ECPRectAreaMap.getCount | ( | ) |
Number of rect areas.
Array Dragengine.Scenery.ECPRectAreaMap.getNames | ( | ) |
Array of String names.
ECPRectAreaMap Dragengine.Scenery.ECPRectAreaMap.new | ( | String | name | ) |
Create property.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPRectAreaMap.removeAll | ( | ) |
Remove all react areas.
void Dragengine.Scenery.ECPRectAreaMap.setAt | ( | String | name, |
RectArea | area | ||
) |
Add or replace react area with name.
void Dragengine.Scenery.ECPRectAreaMap.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.