Drag[en]gine Script Module DragonScript  1.23
Dragengine.BehaviorTreeSystem.BTRunAwayException Class Reference

Behavior tree run away exception. More...

Inheritance diagram for Dragengine.BehaviorTreeSystem.BTRunAwayException:

Public Member Functions

void forEachEntry (Block ablock)
 Visit entries using block with parameter BTRule. More...
 
BTRule getEntryAt (int index)
 Entry at index. More...
 
int getEntryCount ()
 Number of entries in run away list. More...
 
String getRunAwayBacktrace ()
 Run away back-trace in string format. More...
 
BTRunAwayException new (Array list)
 Create exception. More...
 

Public Attributes

Array pRunAwayList
 

Detailed Description

Behavior tree run away exception.

Thrown if the number of steps run in BTContext.stepBehaviorTree() exceeds the run away limit. As additional information the sequence of BTRules resulting in the exception is provided.

Member Function Documentation

◆ forEachEntry()

void Dragengine.BehaviorTreeSystem.BTRunAwayException.forEachEntry ( Block  ablock)

Visit entries using block with parameter BTRule.

◆ getEntryAt()

BTRule Dragengine.BehaviorTreeSystem.BTRunAwayException.getEntryAt ( int  index)

Entry at index.

◆ getEntryCount()

int Dragengine.BehaviorTreeSystem.BTRunAwayException.getEntryCount ( )

Number of entries in run away list.

◆ getRunAwayBacktrace()

String Dragengine.BehaviorTreeSystem.BTRunAwayException.getRunAwayBacktrace ( )

Run away back-trace in string format.

◆ new()

BTRunAwayException Dragengine.BehaviorTreeSystem.BTRunAwayException.new ( Array  list)

Create exception.

Parameters
listArray of BTRule. A copy of the list is stored.

Member Data Documentation

◆ pRunAwayList

Array Dragengine.BehaviorTreeSystem.BTRunAwayException.pRunAwayList

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