Class MonoGameCallbackConfig
Inheritance
MonoGameCallbackConfig
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public class MonoGameCallbackConfig : IConfigurator
Constructors
MonoGameCallbackConfig()
Declaration
public MonoGameCallbackConfig()
Properties
MonoGameCtorCallback
Declaration
public Action<Game>? MonoGameCtorCallback { get; set; }
Property Value
MonoGameInitCallback
Declaration
public Action<Game>? MonoGameInitCallback { get; set; }
Property Value
SkipMonoGameGameCreation
Declaration
public bool SkipMonoGameGameCreation { get; set; }
Property Value
Methods
Run(Builder, GameHost)
Called by the Builder; Runs the specific config for this object.
Declaration
public void Run(Builder config, GameHost game)
Parameters
Type |
Name |
Description |
Builder |
config |
The builder configuration object.
|
GameHost |
game |
The game object being created.
|
Implements
Extension Methods