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