Class IScenarioExtensions
Extension methods for IScenario.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public static class IScenarioExtensions
Methods
View SourceHasEnoughDevices(IScenario)
Determines if the scenario has enough devices to run.
Declaration
public static bool HasEnoughDevices(this IScenario self)
Parameters
Type | Name | Description |
---|---|---|
IScenario | self | The scenario being extended. |
Returns
Type | Description |
---|---|
bool | True if it has enough devices. |
IsActive(IScenario)
Determines if the scenario is active.
Declaration
public static bool IsActive(this IScenario self)
Parameters
Type | Name | Description |
---|---|---|
IScenario | self | The scenario being extended. |
Returns
Type | Description |
---|---|
bool | True if it is active. |
IsFinished(IScenario)
Determines if the scenario is finished.
Declaration
public static bool IsFinished(this IScenario self)
Parameters
Type | Name | Description |
---|---|---|
IScenario | self | The scenario being extended. |
Returns
Type | Description |
---|---|
bool | True if it is finished. |