Show / Hide Table of Contents

Class TestBotBrain

A test bot brain.

Inheritance
object
UrgeBase<TestGameState, TestAutomatedBot, TestAction>
UrgeList<TestGameState, TestAutomatedBot, TestAction>
BotBrain<TestGameState, TestAutomatedBot, TestAction>
TestBotBrain
Implements
IBotBrain<TestGameState, TestAutomatedBot, TestAction>
IUrgeList<TestGameState, TestAutomatedBot, TestAction>
IUrge<TestGameState, TestAutomatedBot, TestAction>
IBotBrain
IBasedOn<IBotBrain>
IBasedOn
IEquatable<IBotBrain>
IUrgeList
IUrge
IEquatable<IUrge>
IHasParameters
Inherited Members
BotBrain<TestGameState, TestAutomatedBot, TestAction>.OnBotPaused
BotBrain<TestGameState, TestAutomatedBot, TestAction>.OnBotStopped
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Bots
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Considerations
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Parameters
BotBrain<TestGameState, TestAutomatedBot, TestAction>.BasedOn
BotBrain<TestGameState, TestAutomatedBot, TestAction>.BasedOnObject
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Equals(IBotBrain)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.AddConsideration(IConsideration)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.RemoveConsideration(IConsideration)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Start(TestAutomatedBot, CancellationToken, params TestGameState[])
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Stop(TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Run(TestGameState, TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Update(object, IReadOnlyCollection<IAutomatedBot>)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Update(TestGameState, IReadOnlyCollection<TestAutomatedBot>)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.GetBotData(TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Start(TestAutomatedBot, IReadOnlyCollection<TestGameState>, CancellationToken)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.TryUpdate(TestGameState, TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.AreEqual(TestAction, TestAction)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.ApplyAction(TestAutomatedBot, TestAction)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.ExecuteUpdate(TestGameState, TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Choose(TestGameState, TestAutomatedBot, IReadOnlyList<BotBrainUrgeResult<TestGameState, TestAutomatedBot, TestAction>>)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.CreateBotData(TestAutomatedBot, IReadOnlyCollection<TestGameState>, CancellationToken)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.CreateBotData(TestAutomatedBot, BrainBotData<TestGameState, TestAutomatedBot, TestAction>)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.PreUpdateBot(TestGameState, TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.PostUpdateBot(TestGameState, TestAutomatedBot, TestAction, TestAction)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.PauseBot(TestAutomatedBot)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.ExclusiveUrgesFor(TestAutomatedBot, TestGameState)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.ParallelUrgesFor(TestAutomatedBot, TestGameState)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.Rank(TestGameState, TestAutomatedBot, IReadOnlyCollection<UrgeResult<TestGameState, TestAutomatedBot, TestAction>>)
BotBrain<TestGameState, TestAutomatedBot, TestAction>.HandleConsiderationException(IConsideration<TestGameState, TestAutomatedBot, TestAction>, TestAutomatedBot, Exception)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.Urges
UrgeList<TestGameState, TestAutomatedBot, TestAction>.ExclusiveUrges
UrgeList<TestGameState, TestAutomatedBot, TestAction>.ParallelUrges
UrgeList<TestGameState, TestAutomatedBot, TestAction>.Equals(IUrge)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.AddUrge(IUrge)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.RemoveUrge(IUrge)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.RunUrges(TestGameState, TestAutomatedBot)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.RunUrge(TestGameState, TestAutomatedBot, IUrge<TestGameState, TestAutomatedBot, TestAction>)
UrgeList<TestGameState, TestAutomatedBot, TestAction>.HandleUrgeException(IUrge<TestGameState, TestAutomatedBot, TestAction>, TestAutomatedBot, Exception)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.NoUrgeName
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.Logger
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.Name
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.Type
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.IsExclusive
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.ToString()
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.Equals(object)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.GetHashCode()
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.GetParameter<T>(TestAutomatedBot, string)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.GetParameter<T>(TestAutomatedBot, IEnumerable<string>)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.TryGetParameter<T>(TestAutomatedBot, IEnumerable<string>, out T)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.TryGetParameter<T>(TestAutomatedBot, string, out T)
UrgeBase<TestGameState, TestAutomatedBot, TestAction>.GetParameterNames(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Samples.ClassBased
Assembly: BotBrain.Samples.dll
Syntax
public class TestBotBrain : BotBrain<TestGameState, TestAutomatedBot, TestAction>, IBotBrain<TestGameState, TestAutomatedBot, TestAction>, IUrgeList<TestGameState, TestAutomatedBot, TestAction>, IUrge<TestGameState, TestAutomatedBot, TestAction>, IBotBrain, IBasedOn<IBotBrain>, IBasedOn, IEquatable<IBotBrain?>, IUrgeList, IUrge, IEquatable<IUrge?>, IHasParameters
Remarks

Initializes a new instance of the TestBotBrain class.

Constructors

View Source

TestBotBrain(ILogger<TestBotBrain>)

A test bot brain.

Declaration
public TestBotBrain(ILogger<TestBotBrain> logger)
Parameters
Type Name Description
ILogger<TestBotBrain> logger

The logger to use.

Remarks

Initializes a new instance of the TestBotBrain class.

Implements

IBotBrain<TState, TBot, TAction>
IUrgeList<TState, TBot, TAction>
IUrge<TState, TBot, TAction>
IBotBrain
IBasedOn<T>
IBasedOn
IEquatable<T>
IUrgeList
IUrge
IEquatable<T>
IHasParameters
  • View Source
In this article
Back to top Generated by DocFX