C# (CSharp) TreeSharp Пространство имен

Классы

Имя Описание
Action The base Action class. A simple, easy to use, way to execute actions, and return their status of execution. These are normally considered 'atoms' in that they are executed in their entirety.
Decorator
DecoratorContinue A decorator that allows you to execute code only if some condition is met. It does not 'break' the current tree if the condition fails, or children fail. This is useful for "if I need to, go ahead, otherwise, ignore" in sequences. It can be thought of as an optional execution.
GroupComposite
GroupComposite.ChildrenCleanupHandler
Parallel This class is not yet implemented!
PrioritySelector Will execute each branch of logic in order, until one succeeds. This composite will fail only if all branches fail as well.
ProbabilitySelection
ProbabilitySelector Will execute random branches of logic, until one succeeds. This composite will fail only if all branches fail as well.
Selector The base selector class. This will attempt to execute all branches of logic, until one succeeds. This composite will fail only if all branches fail as well.
Sequence The base sequence class. This will execute each branch of logic, in order. If all branches succeed, this composite will return a successful run status. If any branch fails, this composite will return a failed run status.
TreeExample
Wait Implements a 'wait' composite. This composite will return Running until some condition is met, or it has exceeded its alloted wait time.