|
Drag[en]gine Script Module DragonScript 1.35
|
Behavior tree run away exception. More...
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 |
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.
| void Dragengine.BehaviorTreeSystem.BTRunAwayException.forEachEntry | ( | Block | ablock | ) |
Visit entries using block with parameter BTRule.
References getEntryAt(), and pRunAwayList.
Referenced by getRunAwayBacktrace().
| BTRule Dragengine.BehaviorTreeSystem.BTRunAwayException.getEntryAt | ( | int | index | ) |
| int Dragengine.BehaviorTreeSystem.BTRunAwayException.getEntryCount | ( | ) |
Number of entries in run away list.
Referenced by getEntryAt().
| String Dragengine.BehaviorTreeSystem.BTRunAwayException.getRunAwayBacktrace | ( | ) |
Run away back-trace in string format.
References forEachEntry(), getRunAwayBacktrace(), and pRunAwayList.
Referenced by getRunAwayBacktrace().
| BTRunAwayException Dragengine.BehaviorTreeSystem.BTRunAwayException.new | ( | Array | list | ) |
Create exception.
| list | Array of BTRule. A copy of the list is stored. |
References new(), and pRunAwayList.
Referenced by new().
| Array Dragengine.BehaviorTreeSystem.BTRunAwayException.pRunAwayList |
Referenced by forEachEntry(), getRunAwayBacktrace(), and new().