Drag[en]gine Script Module DragonScript
1.23
|
Dictionary of animators element class property for use with XML loading. More...
Public Member Functions | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
void | forEach (Block ablock) |
Visit animators with block with String id and Animator value. More... | |
Animator | getAt (String id) |
Animator with identifier or null if absent. More... | |
int | getCount () |
Number of animators. More... | |
bool | getHasPreloaded () |
Property has been preloaded. More... | |
LoadAnimator | getLoader () |
Animator loader. More... | |
ECPAnimatorMap | new (String name, LoadAnimator loader) |
Create property. More... | |
void | removeAll () |
Remove all animators. More... | |
void | removeAllPath () |
Remove all path. More... | |
void | setAt (String id, Animator animator) |
Set animator for identifier. More... | |
void | setPathAt (String id, String path) |
Set path to load for identifier. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
Dictionary of animators element class property for use with XML loading.
Similar to ECPAnimator but assigns each animator a unique name. This is useful to define a list of animators to use mapped against well known identifiers. Also allows to map the same animator to multiple unique identifiers if required.
void Dragengine.Scenery.ECPAnimatorMap.dispose | ( | ) |
Dispose of element class property to break reference loops.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPAnimatorMap.forEach | ( | Block | ablock | ) |
Visit animators with block with String id and Animator value.
Animator Dragengine.Scenery.ECPAnimatorMap.getAt | ( | String | id | ) |
Animator with identifier or null if absent.
int Dragengine.Scenery.ECPAnimatorMap.getCount | ( | ) |
Number of animators.
bool Dragengine.Scenery.ECPAnimatorMap.getHasPreloaded | ( | ) |
Property has been preloaded.
LoadAnimator Dragengine.Scenery.ECPAnimatorMap.getLoader | ( | ) |
Animator loader.
ECPAnimatorMap Dragengine.Scenery.ECPAnimatorMap.new | ( | String | name, |
LoadAnimator | loader | ||
) |
Create property.
void Dragengine.Scenery.ECPAnimatorMap.removeAll | ( | ) |
Remove all animators.
void Dragengine.Scenery.ECPAnimatorMap.removeAllPath | ( | ) |
Remove all path.
void Dragengine.Scenery.ECPAnimatorMap.setAt | ( | String | id, |
Animator | animator | ||
) |
Set animator for identifier.
void Dragengine.Scenery.ECPAnimatorMap.setPathAt | ( | String | id, |
String | path | ||
) |
Set path to load for identifier.
void Dragengine.Scenery.ECPAnimatorMap.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.