Drag[en]gine Script Module DragonScript
1.23
|
List of rect area values class property for use with XML loading. More...
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... | |
List of rect area values class property for use with XML loading.
void Dragengine.Scenery.ECPRectAreaList.add | ( | RectArea | area | ) |
Add react area.
void Dragengine.Scenery.ECPRectAreaList.forEach | ( | Block | ablock | ) |
For each react area with block with RectArea as parameter.
RectArea Dragengine.Scenery.ECPRectAreaList.getAt | ( | int | index | ) |
RectArea at index.
int Dragengine.Scenery.ECPRectAreaList.getCount | ( | ) |
Number of rect areas.
RectArea Dragengine.Scenery.ECPRectAreaList.getRandom | ( | ) |
Get random react area or null if no react areas are present.
ECPRectAreaList Dragengine.Scenery.ECPRectAreaList.new | ( | String | name | ) |
Create property.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPRectAreaList.removeAll | ( | ) |
Remove all react areas.
void Dragengine.Scenery.ECPRectAreaList.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.