KernelAPI reference
Class GameRunner
Namespace: MicroEngine.Core
Assembly: MicroEngine.dll
Guide: Game lifecycle and time
Runs a game to completion on platforms that own their thread (desktop, headless): GameLoop ticked in a blocking loop.
public static class GameRunnerInheritance
Methods
Run(Game, IPlatform, RunOptions?)
Starts game on platform, runs frames until it stops, then shuts it down. Never throws for errors raised by the game: they are in Error.
public static RunResult Run(Game game, IPlatform platform, RunOptions? options = null)Parameters
game Game
platform IPlatform
options RunOptions?
Returns
Remarks
The platform is not disposed; its owner does that.