IGameContext Interface

Represents the context of the running game application. Similar to HttpContext in ASP.NET.

public interface IGameContext

Derived
GameContext

Properties
GameTime Gets the current game time information.
IsRunning Gets a value indicating whether the game is running.
Methods
RequestExit() Requests the game to exit.
UpdateGameTime(GameTime) Updates the current game time. Called once per frame by GameLoop. Not part of the public game API; exposed only within the engine assembly.