Show / Hide Table of Contents

Interface IObjectiveUrge<TState, TBot>

An interface for urges to support objective tracking once chosen by the brain.

Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public interface IObjectiveUrge<TState, TBot>
Type Parameters
Name Description
TState

The game state type.

TBot

The bot type.

Methods

View Source

CanActionChange(TState, TBot)

Determines whether or not the brain must continue running the current action.

Declaration
Task<bool> CanActionChange(TState state, TBot bot)
Parameters
Type Name Description
TState state

The game state.

TBot bot

The bot.

Returns
Type Description
Task<bool>

True if the action may change.

View Source

PreUpdateBot(TState, TBot)

Called before the bot is updated.

Declaration
void PreUpdateBot(TState state, TBot bot)
Parameters
Type Name Description
TState state

The game state.

TBot bot

The bot.

  • View Source
In this article
Back to top Generated by DocFX