Class LaunchTestGame
The overmind urge responsible for launching games.
Inheritance
LaunchTestGame
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Samples.Meta
Assembly: BotBrain.Samples.dll
Syntax
public class LaunchTestGame : LaunchGame, IUrge<OvermindState, OvermindBot, OvermindAction>, IUrge, IEquatable<IUrge?>
Properties
View SourceGameStateName
Gets a description of the game state type.
Declaration
protected override string GameStateName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
View SourceCreateGameStateAsync(IDevice, IRoleBasedScenario, ILaunchGameRole)
Creates the game state.
Declaration
protected override Task<object> CreateGameStateAsync(IDevice device, IRoleBasedScenario scenario, ILaunchGameRole role)
Parameters
| Type | Name | Description |
|---|---|---|
| IDevice | device | The device to use. |
| IRoleBasedScenario | scenario | The scenario. |
| ILaunchGameRole | role | The role. |
Returns
| Type | Description |
|---|---|
| Task<object> | A state object. |
Overrides
View SourcePerformLaunch(IDevice, IRoleBasedScenario, ILaunchGameRole)
Launches a game.
Declaration
protected override IDeviceOperation PerformLaunch(IDevice device, IRoleBasedScenario scenario, ILaunchGameRole role)
Parameters
| Type | Name | Description |
|---|---|---|
| IDevice | device | The device to use. |
| IRoleBasedScenario | scenario | The scenario. |
| ILaunchGameRole | role | The role. |
Returns
| Type | Description |
|---|---|
| IDeviceOperation | A device operation to launch a game. |