Class TestOvermindBrain
A sample overmind brain.
Inheritance
TestOvermindBrain
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Samples.Meta
Assembly: BotBrain.Samples.dll
Syntax
public class TestOvermindBrain : OvermindBrain, IBotBrain<OvermindState, OvermindBot, OvermindAction>, IUrgeList<OvermindState, OvermindBot, OvermindAction>, IUrge<OvermindState, OvermindBot, OvermindAction>, IBotBrain, IBasedOn<IBotBrain>, IBasedOn, IEquatable<IBotBrain?>, IUrgeList, IUrge, IEquatable<IUrge?>, IHasParameters
Remarks
Initializes a new instance of the TestOvermindBrain class.
Constructors
View SourceTestOvermindBrain(ILogger<TestOvermindBrain>, IRandomSource?)
A sample overmind brain.
Declaration
public TestOvermindBrain(ILogger<TestOvermindBrain> logger, IRandomSource? randomSource = null)
Parameters
Type | Name | Description |
---|---|---|
ILogger<TestOvermindBrain> | logger | The logger to use. |
IRandomSource | randomSource | The random source to use. |
Remarks
Initializes a new instance of the TestOvermindBrain class.
Methods
View SourceUpdateScenarios(OvermindState, OvermindBot)
Updates the active scenarios.
Declaration
protected override void UpdateScenarios(OvermindState state, OvermindBot bot)
Parameters
Type | Name | Description |
---|---|---|
OvermindState | state | The overmind state. |
OvermindBot | bot | The overmind bot. |