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 BrainHelper class.
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 |
|---|---|---|
| IBrainSerializer | serializer | The brain serializer. |
| IBrainUpdater | updater | The brain manager. |
| IBrainEditor | editor | The brain editor. |
Remarks
Initializes a new instance of the BrainHelper class.
Properties
View SourceEditor
Gets the bot brain file editor.
Declaration
public virtual IBrainEditor Editor { get; }
Property Value
| Type | Description |
|---|---|
| IBrainEditor |
Serializer
Gets the bot brain file serializer.
Declaration
public virtual IBrainSerializer Serializer { get; }
Property Value
| Type | Description |
|---|---|
| IBrainSerializer |
Updater
Gets the bot brain updater.
Declaration
public virtual IBrainUpdater Updater { get; }
Property Value
| Type | Description |
|---|---|
| IBrainUpdater |