IWorldManager

interface IWorldManager

The WorldManager interface.

A world manager handles the main game loop; that is, is the top most object responsible for rendering and updating the game. Within a world manager, you will call Render and Update on the current world, usually after setting up the appropriate rendering contexts.

There is a default world manager implementation bound when loading the T:Protogame.ProtogameCoreModule. You can rebind this interface to perform advanced rendering or update logic.

void Render<T>(Protogame.T game)
Type Parameters:
 
  • T
Parameters:
  • game (Protogame.T) –
void Update<T>(Protogame.T game)
Type Parameters:
 
  • T
Parameters:
  • game (Protogame.T) –