Class BrainHelper
A helper class for loading and running bot brains.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios .BotBrain .Composition
Assembly: BotBrain.Core.dll
Syntax
public class BrainHelper : IBrainHelper
Remarks
Initializes a new instance of the Brain
Constructors
View SourceBrainHelper(IBrainSerializer, IBrainUpdater, IBrainEditor)
A helper class for loading and running bot brains.
Declaration
public BrainHelper(IBrainSerializer serializer, IBrainUpdater updater, IBrainEditor editor)
Parameters
Type | Name | Description |
---|---|---|
IBrain |
serializer | The brain serializer. |
IBrain |
updater | The brain manager. |
IBrain |
editor | The brain editor. |
Remarks
Initializes a new instance of the Brain
Properties
View SourceEditor
Gets the bot brain file editor.
Declaration
public virtual IBrainEditor Editor { get; }
Property Value
Type | Description |
---|---|
IBrain |
Serializer
Gets the bot brain file serializer.
Declaration
public virtual IBrainSerializer Serializer { get; }
Property Value
Type | Description |
---|---|
IBrain |
Updater
Gets the bot brain updater.
Declaration
public virtual IBrainUpdater Updater { get; }
Property Value
Type | Description |
---|---|
IBrain |