C# Класс lab.TreeNode

Наследование: ANode
Показать файл Открыть проект

Открытые методы

Метод Описание
DebugRun ( AiBlackboard parameters, IList trees, int level, int nodeIndex ) : bool

Runs debug this node.

Run ( AiBlackboard parameters, IList trees, List tasks ) : bool

Runs this node.

Описание методов

DebugRun() публичный Метод

Runs debug this node.
public DebugRun ( AiBlackboard parameters, IList trees, int level, int nodeIndex ) : bool
parameters AiBlackboard AiBlackboard with global parameters.
trees IList Readonly list with all ai trees.
level int Level of how deep we are in this AiTree.
nodeIndex int Index of current node in parent's node. If this is root, nodeIndex is 0.
Результат bool

Run() публичный Метод

Runs this node.
public Run ( AiBlackboard parameters, IList trees, List tasks ) : bool
parameters AiBlackboard AiBlackboard with global parameters.
trees IList Readonly list with all ai trees.
tasks List List of task scripts to bind with task nodes.
Результат bool