Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
BTRule getEntryAt (int index)
 Entry at index.
int getEntryCount ()
 Number of entries in run away list.
String getRunAwayBacktrace ()
 Run away back-trace in string format.
BTRunAwayException new (Array list)
 Create exception.

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.

References getEntryAt(), and pRunAwayList.

Referenced by getRunAwayBacktrace().

◆ getEntryAt()

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

Entry at index.

References getEntryCount().

Referenced by forEachEntry().

◆ getEntryCount()

int Dragengine.BehaviorTreeSystem.BTRunAwayException.getEntryCount ( )

Number of entries in run away list.

Referenced by getEntryAt().

◆ getRunAwayBacktrace()

String Dragengine.BehaviorTreeSystem.BTRunAwayException.getRunAwayBacktrace ( )

Run away back-trace in string format.

References forEachEntry(), getRunAwayBacktrace(), and pRunAwayList.

Referenced by getRunAwayBacktrace().

◆ new()

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

Create exception.

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

References new(), and pRunAwayList.

Referenced by new().

Member Data Documentation

◆ pRunAwayList

Array Dragengine.BehaviorTreeSystem.BTRunAwayException.pRunAwayList

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