Click or drag to resize
Styx.TreeSharp Namespace
Contains behavior tree related classes.
Classes
  ClassDescription
Public classAction
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.
Public classComposite
The base class of the entire behavior tree system. Nearly all branches derive from this class.
Protected classCompositeCleanupHandler
Public classDecorator
A decorator.
Public classDecoratorContinue
A decorator continue.
Public classDynamicChildSelector
A dynamic child selector.
Public classGroupComposite
A group composite.
Protected classGroupCompositeChildrenCleanupHandler
Public classPrioritySelector
Will execute each branch of logic in order, until one succeeds. This composite will fail only if all branches fail as well.
Public classProbabilitySelector
Will execute random branches of logic, until one succeeds. This composite will fail only if all branches fail as well.
Public classSelector
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.
Public classSequence
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.
Public classSleep
A small action composite to force any part of the tree to not execute for a given amount of time.
Public classSwitchT
This composite will perform a 'switch' statement to execute a specific branch of logic. This is useful for selecting specific branches, for different types of agents. (e.g. rogue, mage, and warrior branches)
Public classSwitchArgumentT
A switch argument.
Public classWait
Creates a Composite that will wait while the defined condition is false.
Public classWaitContinue
A wait continue.
Public classWhileLoop
This represents a "While" loop.
Delegates
  DelegateDescription
Public delegateActionDelegate
Action delegate.
Public delegateActionSucceedDelegate
Action succeed delegate.
Public delegateCanRunDecoratorDelegate
Determine if we can run decorator delegate.
Public delegateContextChangeHandler
Handler, called when the context change.
Public delegateRetrieveSwitchParameterDelegateT
Retrieves switch parameter delegate.
Public delegateWaitGetTimeoutDelegate
Wait get timeout delegate.
Public delegateWaitGetTimeSpanTimeoutDelegate
Wait get time span timeout delegate.
Enumerations
  EnumerationDescription
Public enumerationRunStatus
Values that can be returned from composites and the like.