Skip to content

The library class

The library class

Access BL{YourLibraryName}

Description
As you compile your Behave library, the resulting .NET assembly will be set to contain a single point of entry – the library class. This is where you will be able to retrieve tree instances from, enums of the actions and delegates and so forth. If you do a debug build, you will also get an info text file generated, containing the name of the class, all enums, their integer values and so forth.

Methods
static Tree InstantiateTree (TreeType treeType, IAgent agent);
static TreeType Type (Tree tree);
static bool IsAction (int id);
static bool IsDecorator (int id);

Enums
public enum TreeType { CollectionName_TreeName, …, Unknown };
public enum ActionType { ActionName, …, Unknown };
public enum DecoratorType { DecoratorName, …, Unknown };
public enum PriorityType { PriorityName, …, Unknown };
public enum ContextType { ContextName, …, Unknown };

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

*

Spam protection by WP Captcha-Free