Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Utils.BehaviorFactoryHelper Class Reference

Helper class for BehaviorFactor implementations. More...

Inheritance diagram for Dragengine.Utils.BehaviorFactoryHelper:

Public Member Functions

ECBehaviorActorAnimated actorAnimated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Actor animated behavior.
void addActorFactories (BehaviorFactoryList factories)
 Add actor behavior factories to factory list.
void addAllAttachableFactories (AttachableBehaviorFactoryList factories)
 Add all attachable behavior factories to factory list.
void addAllFactories (BehaviorFactoryList factories)
 Add all behavior factories to factory list.
void addAllGWFactories (GWBehaviorFactoryList factories)
 Add all game world behavior factories to factory list.
void addAnimatedFactories (BehaviorFactoryList factories)
 Add animated behavior factories to factory list.
void addAttachFactories (BehaviorFactoryList factories)
 Add attach behavior factories to factory list.
void addBehaviorTreeFactories (BehaviorFactoryList factories)
 Add behavior tree behavior factories to factory list.
void addCommonAttachableFactories (AttachableBehaviorFactoryList factories)
 Add common attachable behavior factories to factory list.
void addCommonFactories (BehaviorFactoryList factories)
 Add common behavior factories to factory list.
void addCommonGWFactories (GWBehaviorFactoryList factories)
 Add common game world behavior factories to factory list.
void addConversationFactories (BehaviorFactoryList factories)
 Add conversation behavior factories to factory list.
void addDynamicSkinFactories (BehaviorFactoryList factories)
 Add dynamic skin behavior factories to factory list.
void addEffectFactories (BehaviorFactoryList factories)
 Add effect behavior factories to factory list.
void addInteractionFactories (BehaviorFactoryList factories)
 Add interaction behavior factories to factory list.
void addInventoryFactories (BehaviorFactoryList factories)
 Add inventory behavior factories to factory list.
void addNetworkFactories (BehaviorFactoryList factories)
 Add network behavior factories to factory list.
void addPlayerFactories (BehaviorFactoryList factories)
 Add player behavior factories to factory list.
void addRailFactories (BehaviorFactoryList factories)
 Add rail behavior factories to factory list.
void addSkyFactories (BehaviorFactoryList factories)
 Add sky behavior factories to factory list.
void addSoundFactories (BehaviorFactoryList factories)
 Add sound behavior factories to factory list.
void addTriggerFactories (BehaviorFactoryList factories)
 Add trigger behavior factories to factory list.
void addVRFactories (BehaviorFactoryList factories)
 Add VR behavior factories to factory list.
void allBehaviorTrees (ECComposeBTSM btsm, BehaviorElementClass eclass, Dictionary parameters)
 All behavior tree behaviors using parameter "behaviorTrees".
void allStateMachines (ECComposeBTSM btsm, BehaviorElementClass eclass, Dictionary parameters)
 All state machine behaviors using parameter "stateMachines".
ECBehaviorAnimated animated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Animated behavior.
ECBehaviorBehaviorTree behaviorTree (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Behavior tree behavior.
BindingManager bindingManager (String value)
 Binding manager matching value.
ECBehaviorCamera camera (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Camera behavior.
CommandManager commandManager (String value)
 Command manager matching value.
ECBehaviorComponent component (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Component behavior.
ECBehaviorCustomColor customColor (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Custom color behavior.
ECBehaviorActorAnimated defaultActorAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default actor animated behavior using parameter "actorAnimated".
ECBehaviorAnimated defaultAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default animated behavior using parameter "animated".
ECBehaviorBehaviorTree defaultBehaviorTree (BehaviorElementClass eclass, Dictionary parameters)
 Default behavior tree behavior using parameter "behaviorTree".
BindingManager defaultBindingManager ()
 Default binding manager matching value.
ECBehaviorCamera defaultCamera (BehaviorElementClass eclass, Dictionary parameters)
 Default camera behavior using parameter "camera".
Dictionary defaultCollisionFilterMap ()
 Default collision filter map.
CommandManager defaultCommandManager ()
 Default command manager matching value.
ECBehaviorComponent defaultComponent (BehaviorElementClass eclass, Dictionary parameters)
 Default component behavior using parameter "component".
Console defaultConsole ()
 Default console.
ECBehaviorCustomColor defaultCustomColor (BehaviorElementClass eclass, Dictionary parameters)
 Default custom color behavior using parameter "customColor".
ECBehaviorDynamicSkin defaultDynamicSkin (BehaviorElementClass eclass, Dictionary parameters)
 Default dynamic skin behavior using parameter "dynamicSkin".
ElementClassList defaultElementClassList ()
 Default element classes list.
MutableID defaultIDGenerator ()
 Default ID Generator.
ECBehaviorLight defaultLight (BehaviorElementClass eclass, Dictionary parameters)
 Default light behavior using parameter "light".
Loaders defaultLoaders ()
 Default loaders.
ECBehaviorNavigationBlocker defaultNavigationBlocker (BehaviorElementClass eclass, Dictionary parameters)
 Default NavigationBlocker behavior using parameter "navigationBlocker".
ECBehaviorNavigationSpace defaultNavigationSpace (BehaviorElementClass eclass, Dictionary parameters)
 Default NavigationSpace behavior using parameter "navigationSpace".
ECBehaviorNavigator defaultNavigator (BehaviorElementClass eclass, Dictionary parameters)
 Default navigator behavior using parameter "navigator".
ECBehaviorPlayerControllable.Tracker defaultPlayerControlledActor ()
 Default player controllable actor matching value.
ECBehaviorRenderableCanvas defaultRenderableCanvas (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable canvas behavior using parameter "renderableCanvas".
ECBehaviorRenderableDesktop defaultRenderableDesktop (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable desktop behavior using parameter "renderableDesktop".
ECBehaviorRenderablePanel defaultRenderablePanel (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable panel behavior using parameter "renderablePanel".
SimpleConversationConverter defaultSimpleConversationConverter ()
 Default simple conversation converter matching value.
ConversationPlaybackSubTitle defaultSubtitle ()
 Default conversation playback subtitle matching value.
GuiTheme defaultSubtitleTheme ()
 Default subtitle gui theme matching value.
TranslationManager defaultTranslationManager ()
 Default translation manager matching value.
TSTriggerTable defaultTriggerTable ()
 Default trigger table.
ECBehaviorTwoStateAnimated defaultTwoStateAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default two state animated behavior using parameter "twoStateAnimated".
ECBehaviorVRHand defaultVRHand (BehaviorElementClass eclass, Dictionary parameters)
 Default vr hand behavior using parameter "vrHand".
WindowPlayerChoice defaultWindowPlayerChoice ()
 Default player choice window.
ECBehaviorDynamicSkin dynamicSkin (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Dynamic skin behavior.
ECBehaviorLight light (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Light behavior.
ECBehaviorNavigationBlocker navigationBlocker (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 NavigationBlocker behavior.
ECBehaviorNavigationSpace navigationSpace (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 NavigationSpace behavior.
ECBehaviorNavigator navigator (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Navigator behavior.
BehaviorFactoryHelper new ()
 Create helper.
ECBehaviorActorAnimated optionalActorAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional actor animated behavior using parameter "actorAnimated".
ECBehaviorAnimated optionalAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional animated behavior using parameter "animated".
ECBehaviorBehaviorTree optionalBehaviorTree (BehaviorElementClass eclass, Dictionary parameters)
 Optional behavior tree behavior using parameter "behaviorTree".
ECBehaviorCamera optionalCamera (BehaviorElementClass eclass, Dictionary parameters)
 Optional camera behavior using parameter "camera".
ECBehaviorComponent optionalComponent (BehaviorElementClass eclass, Dictionary parameters)
 Optional component behavior using parameter "component".
ECBehaviorCustomColor optionalCustomColor (BehaviorElementClass eclass, Dictionary parameters)
 Optional custom color behavior using parameter "customColor".
ECBehaviorDynamicSkin optionalDynamicSkin (BehaviorElementClass eclass, Dictionary parameters)
 Optional dynamic skin behavior using parameter "dynamicSkin".
ECBehaviorLight optionalLight (BehaviorElementClass eclass, Dictionary parameters)
 Optional light behavior using parameter "light".
ECBehaviorNavigationBlocker optionalNavigationBlocker (BehaviorElementClass eclass, Dictionary parameters)
 Optional NavigationBlocker behavior using parameter "NavigationBlocker".
ECBehaviorNavigationSpace optionalNavigationSpace (BehaviorElementClass eclass, Dictionary parameters)
 Optional NavigationSpace behavior using parameter "NavigationSpace".
ECBehaviorNavigator optionalNavigator (BehaviorElementClass eclass, Dictionary parameters)
 Optional navigator behavior using parameter "navigator".
ECBehaviorPlayerControllable optionalPlayerControllable (BehaviorElementClass eclass, Dictionary parameters)
 Optional player controllable behavior using parameter "playerControllable".
ECBehaviorRenderableCanvas optionalRenderableCanvas (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable canvas behavior using parameter "renderableCanvas".
ECBehaviorRenderableDesktop optionalRenderableDesktop (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable desktop behavior using parameter "renderableDesktop".
ECBehaviorRenderablePanel optionalRenderablePanel (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable panel behavior using parameter "renderablePanel".
ECBehaviorStateMachine optionalStateMachine (BehaviorElementClass eclass, Dictionary parameters)
 Optional behavior state machine using parameter "stateMachine".
ECBehaviorTwoStateAnimated optionalTwoStateAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional two state animated behavior using parameter "twoStateAnimated".
ECBehaviorVRHand optionalVRHand (BehaviorElementClass eclass, Dictionary parameters)
 Optional vr hand behavior using parameter "vrHand".
ECBehaviorPlayerControllable playerControllable (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Player controllable behavior.
ECBehaviorPlayerControllable.Tracker playerControlledActor (String value)
 Player controllable actor matching value.
ECBehaviorRenderableCanvas renderableCanvas (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable canvas behavior.
ECBehaviorRenderableDesktop renderableDesktop (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable desktop behavior.
ECBehaviorRenderablePanel renderablePanel (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable panel behavior.
void setPropertiesFromParameters (BehaviorElementClass eclass, Dictionary parameters)
void setPropertiesFromParameters (BehaviorElementClass eclass, Dictionary parameters, String prefix, String id)
 Set parameters as prefixed property.
SimpleConversationConverter simpleConversationConverter (String value)
 Simple conversation converter matching value.
ConversationPlaybackSubTitle subtitle (String value)
 Conversation playback subtitle matching value.
GuiTheme subtitleTheme (String value)
 Subtitle gui theme matching value.
TranslationManager translationManager (String value)
 Translation manager matching value.
TSTriggerTable triggerTable (String value)
 Trigger table matching value.
ECBehaviorTwoStateAnimated twoStateAnimated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Two state animated behavior.

Detailed Description

Helper class for BehaviorFactor implementations.

Version
1.25

Member Function Documentation

◆ actorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.actorAnimated ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Actor animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References component(), and optionalComponent().

Referenced by defaultActorAnimated(), defaultAnimated(), and optionalAnimated().

◆ addActorFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addActorFactories ( BehaviorFactoryList factories)

Add actor behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addAllAttachableFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAllAttachableFactories ( AttachableBehaviorFactoryList factories)

Add all attachable behavior factories to factory list.

Version
1.29

Referenced by addCommonGWFactories().

◆ addAllFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAllFactories ( BehaviorFactoryList factories)

Add all behavior factories to factory list.

References renderableDesktop().

Referenced by addCommonGWFactories().

◆ addAllGWFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAllGWFactories ( GWBehaviorFactoryList factories)

Add all game world behavior factories to factory list.

Version
1.35

Referenced by addCommonGWFactories().

◆ addAnimatedFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAnimatedFactories ( BehaviorFactoryList factories)

Add animated behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addAttachFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAttachFactories ( BehaviorFactoryList factories)

Add attach behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addBehaviorTreeFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addBehaviorTreeFactories ( BehaviorFactoryList factories)

Add behavior tree behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addCommonAttachableFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addCommonAttachableFactories ( AttachableBehaviorFactoryList factories)

Add common attachable behavior factories to factory list.

Version
1.29

Referenced by addCommonGWFactories().

◆ addCommonFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addCommonFactories ( BehaviorFactoryList factories)

Add common behavior factories to factory list.

References renderableCanvas().

Referenced by addCommonGWFactories().

◆ addCommonGWFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addCommonGWFactories ( GWBehaviorFactoryList factories)

◆ addConversationFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addConversationFactories ( BehaviorFactoryList factories)

Add conversation behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addDynamicSkinFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addDynamicSkinFactories ( BehaviorFactoryList factories)

Add dynamic skin behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addEffectFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addEffectFactories ( BehaviorFactoryList factories)

Add effect behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addInteractionFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addInteractionFactories ( BehaviorFactoryList factories)

Add interaction behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addInventoryFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addInventoryFactories ( BehaviorFactoryList factories)

Add inventory behavior factories to factory list.

References defaultRenderableCanvas(), and renderableCanvas().

Referenced by addCommonGWFactories().

◆ addNetworkFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addNetworkFactories ( BehaviorFactoryList factories)

Add network behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addPlayerFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addPlayerFactories ( BehaviorFactoryList factories)

Add player behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addRailFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addRailFactories ( BehaviorFactoryList factories)

Add rail behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addSkyFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addSkyFactories ( BehaviorFactoryList factories)

Add sky behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addSoundFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addSoundFactories ( BehaviorFactoryList factories)

Add sound behavior factories to factory list.

References optionalRenderableCanvas(), and renderableCanvas().

Referenced by addCommonGWFactories().

◆ addTriggerFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addTriggerFactories ( BehaviorFactoryList factories)

Add trigger behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ addVRFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addVRFactories ( BehaviorFactoryList factories)

Add VR behavior factories to factory list.

Referenced by addCommonGWFactories().

◆ allBehaviorTrees()

void Dragengine.Utils.BehaviorFactoryHelper.allBehaviorTrees ( ECComposeBTSM btsm,
BehaviorElementClass eclass,
Dictionary parameters )

All behavior tree behaviors using parameter "behaviorTrees".

Parameter is of list type. Throws exception if one or more behaviors do not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalCustomColor(), and optionalRenderablePanel().

◆ allStateMachines()

void Dragengine.Utils.BehaviorFactoryHelper.allStateMachines ( ECComposeBTSM btsm,
BehaviorElementClass eclass,
Dictionary parameters )

All state machine behaviors using parameter "stateMachines".

Parameter is of list type. Throws exception if one or more behaviors do not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References defaultNavigationSpace(), and navigationSpace().

Referenced by optionalRenderablePanel(), and renderablePanel().

◆ animated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.animated ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by navigator(), optionalTwoStateAnimated(), and twoStateAnimated().

◆ behaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.behaviorTree ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Behavior tree behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References navigator(), and optionalNavigator().

Referenced by customColor(), defaultCamera(), and optionalCustomColor().

◆ bindingManager()

BindingManager Dragengine.Utils.BehaviorFactoryHelper.bindingManager ( String value)

Binding manager matching value.

Returns BaseGameApp.getTriggerTable() for value "default" and null otherwise.

Referenced by addCommonGWFactories().

◆ camera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.camera ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Camera behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References navigationBlocker(), and optionalNavigationBlocker().

Referenced by defaultPlayerControlledActor(), defaultSimpleConversationConverter(), and subtitleTheme().

◆ commandManager()

CommandManager Dragengine.Utils.BehaviorFactoryHelper.commandManager ( String value)

Command manager matching value.

Returns BaseGameApp.getCommandManager() for value "default" and null otherwise.

Referenced by addCommonGWFactories().

◆ component()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.component ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Component behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References component().

Referenced by actorAnimated(), component(), and optionalComponent().

◆ customColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.customColor ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Custom color behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References behaviorTree(), and defaultBehaviorTree().

Referenced by defaultCollisionFilterMap(), defaultTranslationManager(), and defaultWindowPlayerChoice().

◆ defaultActorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultActorAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Default actor animated behavior using parameter "actorAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References actorAnimated().

Referenced by defaultAnimated().

◆ defaultAnimated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Default animated behavior using parameter "animated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References actorAnimated(), and defaultActorAnimated().

Referenced by optionalTwoStateAnimated().

◆ defaultBehaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.defaultBehaviorTree ( BehaviorElementClass eclass,
Dictionary parameters )

Default behavior tree behavior using parameter "behaviorTree".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by customColor().

◆ defaultBindingManager()

BindingManager Dragengine.Utils.BehaviorFactoryHelper.defaultBindingManager ( )

Default binding manager matching value.

Version
1.28

Returns BaseGameApp.getTriggerTable().

References defaultDynamicSkin(), and dynamicSkin().

Referenced by addCommonGWFactories().

◆ defaultCamera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.defaultCamera ( BehaviorElementClass eclass,
Dictionary parameters )

Default camera behavior using parameter "camera".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References behaviorTree().

Referenced by defaultSimpleConversationConverter().

◆ defaultCollisionFilterMap()

Dictionary Dragengine.Utils.BehaviorFactoryHelper.defaultCollisionFilterMap ( )

Default collision filter map.

Version
1.35

Returns BaseGameApp.getCollisionFilterMap().

References customColor(), and optionalCustomColor().

Referenced by addCommonGWFactories().

◆ defaultCommandManager()

CommandManager Dragengine.Utils.BehaviorFactoryHelper.defaultCommandManager ( )

Default command manager matching value.

Version
1.28

Returns BaseGameApp.getCommandManager().

Referenced by addCommonGWFactories().

◆ defaultComponent()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.defaultComponent ( BehaviorElementClass eclass,
Dictionary parameters )

Default component behavior using parameter "component".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalComponent().

◆ defaultConsole()

Console Dragengine.Utils.BehaviorFactoryHelper.defaultConsole ( )

Default console.

Version
1.28

Returns BaseGameApp.getConsole().

Referenced by addCommonGWFactories().

◆ defaultCustomColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.defaultCustomColor ( BehaviorElementClass eclass,
Dictionary parameters )

Default custom color behavior using parameter "customColor".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by defaultWindowPlayerChoice().

◆ defaultDynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.defaultDynamicSkin ( BehaviorElementClass eclass,
Dictionary parameters )

Default dynamic skin behavior using parameter "dynamicSkin".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by defaultBindingManager().

◆ defaultElementClassList()

ElementClassList Dragengine.Utils.BehaviorFactoryHelper.defaultElementClassList ( )

Default element classes list.

Version
1.28

Returns BaseGameApp.getElementClassList().

Referenced by addCommonGWFactories().

◆ defaultIDGenerator()

MutableID Dragengine.Utils.BehaviorFactoryHelper.defaultIDGenerator ( )

Default ID Generator.

Version
1.28

Returns BaseGameApp.getIDGenerator().

Referenced by addCommonGWFactories().

◆ defaultLight()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.defaultLight ( BehaviorElementClass eclass,
Dictionary parameters )

Default light behavior using parameter "light".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addCommonGWFactories().

◆ defaultLoaders()

Loaders Dragengine.Utils.BehaviorFactoryHelper.defaultLoaders ( )

Default loaders.

Version
1.28

Returns BaseGameApp.getLoaders().

Referenced by addCommonGWFactories().

◆ defaultNavigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.defaultNavigationBlocker ( BehaviorElementClass eclass,
Dictionary parameters )

Default NavigationBlocker behavior using parameter "navigationBlocker".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalDynamicSkin().

◆ defaultNavigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.defaultNavigationSpace ( BehaviorElementClass eclass,
Dictionary parameters )

Default NavigationSpace behavior using parameter "navigationSpace".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References defaultTwoStateAnimated(), and twoStateAnimated().

Referenced by allStateMachines().

◆ defaultNavigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.defaultNavigator ( BehaviorElementClass eclass,
Dictionary parameters )

Default navigator behavior using parameter "navigator".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalNavigationBlocker().

◆ defaultPlayerControlledActor()

ECBehaviorPlayerControllable.Tracker Dragengine.Utils.BehaviorFactoryHelper.defaultPlayerControlledActor ( )

Default player controllable actor matching value.

Version
1.28

Returns BaseGameApp.getPlayerControlledActor().

References camera().

Referenced by addCommonGWFactories().

◆ defaultRenderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.defaultRenderableCanvas ( BehaviorElementClass eclass,
Dictionary parameters )

Default renderable canvas behavior using parameter "renderableCanvas".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addInventoryFactories().

◆ defaultRenderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.defaultRenderableDesktop ( BehaviorElementClass eclass,
Dictionary parameters )

Default renderable desktop behavior using parameter "renderableDesktop".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addCommonGWFactories().

◆ defaultRenderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.defaultRenderablePanel ( BehaviorElementClass eclass,
Dictionary parameters )

Default renderable panel behavior using parameter "renderablePanel".

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addCommonGWFactories().

◆ defaultSimpleConversationConverter()

SimpleConversationConverter Dragengine.Utils.BehaviorFactoryHelper.defaultSimpleConversationConverter ( )

Default simple conversation converter matching value.

Version
1.28

Returns BaseGameApp.getSimpleConversationConverter().

References camera(), and defaultCamera().

Referenced by addCommonGWFactories().

◆ defaultSubtitle()

ConversationPlaybackSubTitle Dragengine.Utils.BehaviorFactoryHelper.defaultSubtitle ( )

Default conversation playback subtitle matching value.

Version
1.28

Returns BaseGameApp#getWindowSubTitle().

References dynamicSkin().

Referenced by addCommonGWFactories().

◆ defaultSubtitleTheme()

GuiTheme Dragengine.Utils.BehaviorFactoryHelper.defaultSubtitleTheme ( )

Default subtitle gui theme matching value.

Version
1.28

Returns WindowSubTitle#getGuiTheme() on BaseGameApp#getWindowSubTitle().

Referenced by addCommonGWFactories().

◆ defaultTranslationManager()

TranslationManager Dragengine.Utils.BehaviorFactoryHelper.defaultTranslationManager ( )

Default translation manager matching value.

Version
1.28

Returns BaseGameApp.getTranslationManager().

References customColor().

Referenced by addCommonGWFactories().

◆ defaultTriggerTable()

TSTriggerTable Dragengine.Utils.BehaviorFactoryHelper.defaultTriggerTable ( )

Default trigger table.

Version
1.28

Returns BaseGameApp.getTriggerTable().

References dynamicSkin().

Referenced by addCommonGWFactories().

◆ defaultTwoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultTwoStateAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Default two state animated behavior using parameter "twoStateAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by defaultNavigationSpace().

◆ defaultVRHand()

ECBehaviorVRHand Dragengine.Utils.BehaviorFactoryHelper.defaultVRHand ( BehaviorElementClass eclass,
Dictionary parameters )

Default vr hand behavior using parameter "vrHand".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References navigationSpace(), and optionalNavigationSpace().

Referenced by playerControllable().

◆ defaultWindowPlayerChoice()

WindowPlayerChoice Dragengine.Utils.BehaviorFactoryHelper.defaultWindowPlayerChoice ( )

Default player choice window.

Version
1.28

Returns BaseGameApp.getWindowPlayerChoice().

References customColor(), and defaultCustomColor().

Referenced by addCommonGWFactories().

◆ dynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.dynamicSkin ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Dynamic skin behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by defaultBindingManager(), defaultSubtitle(), and defaultTriggerTable().

◆ light()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.light ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Light behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by addCommonGWFactories().

◆ navigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.navigationBlocker ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

NavigationBlocker behavior.

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References navigator().

Referenced by camera(), optionalDynamicSkin(), and optionalVRHand().

◆ navigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.navigationSpace ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

NavigationSpace behavior.

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by allStateMachines(), defaultVRHand(), and optionalBehaviorTree().

◆ navigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.navigator ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Navigator behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References animated(), and optionalAnimated().

Referenced by behaviorTree(), navigationBlocker(), and optionalNavigationBlocker().

◆ new()

BehaviorFactoryHelper Dragengine.Utils.BehaviorFactoryHelper.new ( )

Create helper.

References new().

Referenced by new().

◆ optionalActorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalActorAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Optional actor animated behavior using parameter "actorAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalAnimated().

◆ optionalAnimated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Optional animated behavior using parameter "animated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References actorAnimated(), and optionalActorAnimated().

Referenced by navigator().

◆ optionalBehaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.optionalBehaviorTree ( BehaviorElementClass eclass,
Dictionary parameters )

Optional behavior tree behavior using parameter "behaviorTree".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References navigationSpace().

Referenced by optionalCustomColor().

◆ optionalCamera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.optionalCamera ( BehaviorElementClass eclass,
Dictionary parameters )

Optional camera behavior using parameter "camera".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by playerControlledActor().

◆ optionalComponent()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.optionalComponent ( BehaviorElementClass eclass,
Dictionary parameters )

Optional component behavior using parameter "component".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References component(), and defaultComponent().

Referenced by actorAnimated().

◆ optionalCustomColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.optionalCustomColor ( BehaviorElementClass eclass,
Dictionary parameters )

Optional custom color behavior using parameter "customColor".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References allBehaviorTrees(), behaviorTree(), and optionalBehaviorTree().

Referenced by defaultCollisionFilterMap().

◆ optionalDynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.optionalDynamicSkin ( BehaviorElementClass eclass,
Dictionary parameters )

Optional dynamic skin behavior using parameter "dynamicSkin".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References defaultNavigationBlocker(), and navigationBlocker().

Referenced by subtitle().

◆ optionalLight()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.optionalLight ( BehaviorElementClass eclass,
Dictionary parameters )

Optional light behavior using parameter "light".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addCommonGWFactories().

◆ optionalNavigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.optionalNavigationBlocker ( BehaviorElementClass eclass,
Dictionary parameters )

Optional NavigationBlocker behavior using parameter "NavigationBlocker".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References defaultNavigator(), and navigator().

Referenced by camera().

◆ optionalNavigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.optionalNavigationSpace ( BehaviorElementClass eclass,
Dictionary parameters )

Optional NavigationSpace behavior using parameter "NavigationSpace".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References optionalTwoStateAnimated(), and twoStateAnimated().

Referenced by defaultVRHand().

◆ optionalNavigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.optionalNavigator ( BehaviorElementClass eclass,
Dictionary parameters )

Optional navigator behavior using parameter "navigator".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References twoStateAnimated().

Referenced by behaviorTree().

◆ optionalPlayerControllable()

ECBehaviorPlayerControllable Dragengine.Utils.BehaviorFactoryHelper.optionalPlayerControllable ( BehaviorElementClass eclass,
Dictionary parameters )

Optional player controllable behavior using parameter "playerControllable".

Version
1.34

Parameter can be of string type with value empty string or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References optionalVRHand().

Referenced by addCommonGWFactories().

◆ optionalRenderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.optionalRenderableCanvas ( BehaviorElementClass eclass,
Dictionary parameters )

Optional renderable canvas behavior using parameter "renderableCanvas".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by addSoundFactories().

◆ optionalRenderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.optionalRenderableDesktop ( BehaviorElementClass eclass,
Dictionary parameters )

Optional renderable desktop behavior using parameter "renderableDesktop".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References optionalStateMachine().

Referenced by addCommonGWFactories().

◆ optionalRenderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.optionalRenderablePanel ( BehaviorElementClass eclass,
Dictionary parameters )

Optional renderable panel behavior using parameter "renderablePanel".

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References allBehaviorTrees(), and allStateMachines().

Referenced by addCommonGWFactories().

◆ optionalStateMachine()

ECBehaviorStateMachine Dragengine.Utils.BehaviorFactoryHelper.optionalStateMachine ( BehaviorElementClass eclass,
Dictionary parameters )

Optional behavior state machine using parameter "stateMachine".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

Referenced by optionalRenderableDesktop().

◆ optionalTwoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalTwoStateAnimated ( BehaviorElementClass eclass,
Dictionary parameters )

Optional two state animated behavior using parameter "twoStateAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References animated(), and defaultAnimated().

Referenced by optionalNavigationSpace().

◆ optionalVRHand()

ECBehaviorVRHand Dragengine.Utils.BehaviorFactoryHelper.optionalVRHand ( BehaviorElementClass eclass,
Dictionary parameters )

Optional vr hand behavior using parameter "vrHand".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

References navigationBlocker().

Referenced by optionalPlayerControllable().

◆ playerControllable()

ECBehaviorPlayerControllable Dragengine.Utils.BehaviorFactoryHelper.playerControllable ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Player controllable behavior.

Parameter can be of string type with value empty string or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References defaultVRHand().

Referenced by addCommonGWFactories().

◆ playerControlledActor()

ECBehaviorPlayerControllable.Tracker Dragengine.Utils.BehaviorFactoryHelper.playerControlledActor ( String value)

Player controllable actor matching value.

Returns BaseGameApp.getPlayerControlledActor() for value "default" and null otherwise.

References optionalCamera().

Referenced by addCommonGWFactories().

◆ renderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.renderableCanvas ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Renderable canvas behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by addCommonFactories(), addInventoryFactories(), and addSoundFactories().

◆ renderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.renderableDesktop ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Renderable desktop behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

Referenced by addAllFactories(), and addCommonGWFactories().

◆ renderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.renderablePanel ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Renderable panel behavior.

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References allStateMachines().

Referenced by addCommonGWFactories().

◆ setPropertiesFromParameters() [1/2]

void Dragengine.Utils.BehaviorFactoryHelper.setPropertiesFromParameters ( BehaviorElementClass eclass,
Dictionary parameters )

◆ setPropertiesFromParameters() [2/2]

void Dragengine.Utils.BehaviorFactoryHelper.setPropertiesFromParameters ( BehaviorElementClass eclass,
Dictionary parameters,
String prefix,
String id )

Set parameters as prefixed property.

Allows to simplify setting properties of a newly added behavior without needing to know the property prefix used. Considers all parameters starting with "." to be properties with the prefix prepanded to their name. If id is empty string prepends "prefix". Otherwise prepends "prefix(id)".

Referenced by addCommonGWFactories().

◆ simpleConversationConverter()

SimpleConversationConverter Dragengine.Utils.BehaviorFactoryHelper.simpleConversationConverter ( String value)

Simple conversation converter matching value.

Returns BaseGameApp.getSimpleConversationConverter() for value "default" and null for all other values.

Referenced by addCommonGWFactories().

◆ subtitle()

ConversationPlaybackSubTitle Dragengine.Utils.BehaviorFactoryHelper.subtitle ( String value)

Conversation playback subtitle matching value.

Returns BaseGameApp#getWindowSubTitle() for value "default" and null otherwise.

References optionalDynamicSkin().

Referenced by addCommonGWFactories().

◆ subtitleTheme()

GuiTheme Dragengine.Utils.BehaviorFactoryHelper.subtitleTheme ( String value)

Subtitle gui theme matching value.

Returns WindowSubTitle#getGuiTheme() on BaseGameApp#getWindowSubTitle() for value "default". For values starting with "path:" loads gui theme. For all other valuers returns null.

References camera().

Referenced by addCommonGWFactories().

◆ translationManager()

TranslationManager Dragengine.Utils.BehaviorFactoryHelper.translationManager ( String value)

Translation manager matching value.

Returns BaseGameApp.getTranslationManager() for value "default" and null otherwise.

Referenced by addCommonGWFactories().

◆ triggerTable()

TSTriggerTable Dragengine.Utils.BehaviorFactoryHelper.triggerTable ( String value)

Trigger table matching value.

Returns BaseGameApp.getTriggerTable() for value "default" and null otherwise.

Referenced by addCommonGWFactories().

◆ twoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.twoStateAnimated ( BehaviorElementClass eclass,
Dictionary parameters,
String name,
String defaultId )

Two state animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

References animated().

Referenced by defaultNavigationSpace(), optionalNavigationSpace(), and optionalNavigator().


The documentation for this class was generated from the following file: