Click or drag to resize
BehaviorTreeLibrary Class
Library which stores behavior trees by key.
Inheritance Hierarchy
SystemObject
  Slash.AI.BehaviorTrees.ManagementBehaviorTreeLibrary

Namespace: Slash.AI.BehaviorTrees.Management
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
[SerializableAttribute]
public class BehaviorTreeLibrary

The BehaviorTreeLibrary type exposes the following members.

Constructors
  NameDescription
Public methodBehaviorTreeLibrary
Initializes a new instance of the BehaviorTreeLibrary class.
Top
Properties
  NameDescription
Public propertyCount
Returns the number of available behavior trees.
Public propertyEntries
Returns all available trees as a read-only list.
Top
Methods
  NameDescription
Public methodAdd
Adds a behavior tree to the library and uses the passed name as its key.
Public methodContains
Determines whether the library contains a behavior tree with the passed name.
Public methodEquals(Object)
The equals.
(Overrides ObjectEquals(Object).)
Public methodEquals(BehaviorTreeLibrary)
The equals.
Public methodGet
Returns the behavior tree with the passed name from this library.
Public methodGetHashCode
The get hash code.
(Overrides ObjectGetHashCode.)
Public methodRemove(String)
Removes the behavior tree with the passed name from the library.
Public methodRemove(ITask)
Removes the behavior tree from the library.
Public methodSet
Sets a behavior tree to the library and uses the passed name as its key. Overwrites a behavior tree if the library already contains a behavior tree with the passed name.
Public methodSolveReferences
Solves all sub tree reference tasks and replaces them by real references to the sub tree.
Public methodSolveReferences(IBehaviorTree)
Solves all sub tree reference tasks and replaces them by real references to the sub tree.
Public methodTryGet
Tries to get the behavior tree with the passed name from this library.
Top
Events
  NameDescription
Public eventLibraryChanged
Called when the library was changed by the editor.
Top
See Also