IGameConfiguration¶
-
interface
IGameConfiguration
The game configuration interface. All of the implementations of T:Protogame.IGameConfiguration are instantiated at startup and are used to configure the dependency injection system and the game.
-
void
ConfigureKernel
(IKernel kernel) Called at application startup to configure the kernel before the game is created.
Parameters: - kernel (Protoinject.IKernel) – The dependency injection kernel.
-
Protogame.ICoreGame
ConstructGame
(IKernel kernel) Called at application startup to construct the main game instance. This instance will be associated with the host game.
Parameters: - kernel (Protoinject.IKernel) – The dependency injection kernel.
Returns: The game instance to run.
-
void