IUpdateContext

interface IUpdateContext

The UpdateContext interface.

This interface provides a mechanism to perform additional update logic based on the current state of the game.

Bind this interface in the Protoinject kernel before creating an instance of your game, and the T:Protogame.CoreGame`1 implementation will create an instance of the bound type and use it during execution.

void Update(IGameContext context)

The update.

Parameters:
  • context (Protogame.IGameContext) – The context.