|
Drag[en]gine Script Module DragonScript 1.32.1
|
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. | |
| void | forEach (Block ablock) |
| Visit animators with block with String id and Animator value. | |
| Animator | getAt (String id) |
| Animator with identifier or null if absent. | |
| int | getCount () |
| Number of animators. | |
| bool | getHasPreloaded () |
| Property has been preloaded. | |
| LoadAnimator | getLoader () |
| Animator loader. | |
| ECPAnimatorMap | new (String name, LoadAnimator loader) |
| Create property. | |
| void | removeAll () |
| Remove all animators. | |
| void | removeAllPath () |
| Remove all path. | |
| void | setAt (String id, Animator animator) |
| Set animator for identifier. | |
| void | setPathAt (String id, String path) |
| Set path to load for identifier. | |
| void | setValue (Object value) |
| Set value of property from XML decoded value. | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
| String | getName () |
| Name. | |
| bool | logPreloadProblems (ElementClass elementClass, Console console) |
| Log preloading problems. | |
| ElementClassProperty | new (String name) |
| Create property. | |
| void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
| Preload resources if supported. | |
Public Attributes | |
| Array | pFailedLoading |
| bool | pHasPreloaded |
| LoadAnimator | pLoader |
| Dictionary | pPath |
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.
References Dragengine.Scenery.logPreloadProblems().
| Array Dragengine.Scenery.ECPAnimatorMap.pFailedLoading |
| bool Dragengine.Scenery.ECPAnimatorMap.pHasPreloaded |
| LoadAnimator Dragengine.Scenery.ECPAnimatorMap.pLoader |
| Dictionary Dragengine.Scenery.ECPAnimatorMap.pPath |