Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ECComposeBTSM.Instance Class Reference

Instance helper. More...

Inheritance diagram for Dragengine.Scenery.ECComposeBTSM.Instance:

Public Member Functions

void addAlias (String btsmId, String aliasPrefix, String aliasId)
 Add alias in the form "aliasPrefix(aliasId).".
void addBehaviorTree (ECBehaviorBehaviorTree behaviorTree)
 Add behavior behavior tree to add actions and conditions to.
void addBTSM (ECBehaviorBehaviorTree behaviorTree, ECBehaviorStateMachine stateMachine)
 Add behavior behavior tree and state machine to add actions and conditions to.
void addStateMachine (ECBehaviorStateMachine stateMachine)
 Add behavior state machine to add actions and conditions to.
void forEachBehaviorTree (Block ablock)
 Visit behavior behavior trees to add actions and conditions to.
void forEachBehaviorTree (Block visitor)
 Visit behavior tree instances with block.
void forEachStateMachines (Block ablock)
 Visit behavior state machines to add actions and conditions to.
ECPStringMap getAlias ()
 Alias map or null.
ECBehaviorBehaviorTree.Instance getBehaviorTreeAt (int index)
 Behavior tree at index.
bool hasAny ()
 At least one behavior tree or state machine is present.
bool hasAnyBehaviorTrees ()
 At least one behavior tree is present.
bool hasAnyStateMachines ()
 At least one state machine is present.
Instance new ()
 Create composable element class.
Instance new (BehaviorElement element, ECComposeBTSM compose)
 Create instance helper.
Instance new (BehaviorElementClass eclass, String prefixAliases)

Public Attributes

ECPStringMap pAlias
Array pBehaviorTrees
Array pBTContexts

Detailed Description

Instance helper.

Member Function Documentation

◆ addAlias()

void Dragengine.Scenery.ECComposeBTSM.Instance.addAlias ( String btsmId,
String aliasPrefix,
String aliasId )

Add alias in the form "aliasPrefix(aliasId).".

References pBTContexts.

Referenced by hasAnyStateMachines().

◆ addBehaviorTree()

void Dragengine.Scenery.ECComposeBTSM.Instance.addBehaviorTree ( ECBehaviorBehaviorTree behaviorTree)

Add behavior behavior tree to add actions and conditions to.

Referenced by hasAnyStateMachines().

◆ addBTSM()

void Dragengine.Scenery.ECComposeBTSM.Instance.addBTSM ( ECBehaviorBehaviorTree behaviorTree,
ECBehaviorStateMachine stateMachine )

Add behavior behavior tree and state machine to add actions and conditions to.

Referenced by hasAnyStateMachines().

◆ addStateMachine()

void Dragengine.Scenery.ECComposeBTSM.Instance.addStateMachine ( ECBehaviorStateMachine stateMachine)

Add behavior state machine to add actions and conditions to.

Referenced by hasAnyStateMachines().

◆ forEachBehaviorTree() [1/2]

void Dragengine.Scenery.ECComposeBTSM.Instance.forEachBehaviorTree ( Block ablock)

Visit behavior behavior trees to add actions and conditions to.

Parameters
ablockBlock with parameter ECBehaviorBehaviorTree.

References pBTContexts.

◆ forEachBehaviorTree() [2/2]

void Dragengine.Scenery.ECComposeBTSM.Instance.forEachBehaviorTree ( Block visitor)

Visit behavior tree instances with block.

Version
1.35

Block receives as argument ECBehaviorBehaviorTree.Instance.

Referenced by hasAnyStateMachines().

◆ forEachStateMachines()

void Dragengine.Scenery.ECComposeBTSM.Instance.forEachStateMachines ( Block ablock)

Visit behavior state machines to add actions and conditions to.

Parameters
ablockBlock with parameter ECBehaviorStateMachine.

References pBTContexts.

Referenced by hasAnyStateMachines().

◆ getAlias()

ECPStringMap Dragengine.Scenery.ECComposeBTSM.Instance.getAlias ( )

Alias map or null.

Referenced by hasAnyStateMachines().

◆ getBehaviorTreeAt()

ECBehaviorBehaviorTree.Instance Dragengine.Scenery.ECComposeBTSM.Instance.getBehaviorTreeAt ( int index)

Behavior tree at index.

Version
1.35

Referenced by hasAnyStateMachines().

◆ hasAny()

bool Dragengine.Scenery.ECComposeBTSM.Instance.hasAny ( )

At least one behavior tree or state machine is present.

References pBTContexts.

Referenced by hasAnyStateMachines().

◆ hasAnyBehaviorTrees()

bool Dragengine.Scenery.ECComposeBTSM.Instance.hasAnyBehaviorTrees ( )

At least one behavior tree is present.

Version
1.35

Referenced by hasAnyStateMachines().

◆ hasAnyStateMachines()

bool Dragengine.Scenery.ECComposeBTSM.Instance.hasAnyStateMachines ( )

◆ new() [1/3]

Instance Dragengine.Scenery.ECComposeBTSM.Instance.new ( )

Create composable element class.

◆ new() [2/3]

Instance Dragengine.Scenery.ECComposeBTSM.Instance.new ( BehaviorElement element,
ECComposeBTSM compose )

Create instance helper.

◆ new() [3/3]

Instance Dragengine.Scenery.ECComposeBTSM.Instance.new ( BehaviorElementClass eclass,
String prefixAliases )

Member Data Documentation

◆ pAlias

ECPStringMap Dragengine.Scenery.ECComposeBTSM.Instance.pAlias

Referenced by hasAnyStateMachines().

◆ pBehaviorTrees

Array Dragengine.Scenery.ECComposeBTSM.Instance.pBehaviorTrees

Referenced by hasAnyStateMachines().

◆ pBTContexts

Array Dragengine.Scenery.ECComposeBTSM.Instance.pBTContexts

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