SensorEngineHook

Warning

This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the IEngineHook service via dependency injection to access this functionality.

Information documented here may not be up to date.

class SensorEngineHook : System.Object, IEngineHook

The default implementation of T:Protogame.IEngineHook.

public void Render(IGameContext gameContext, IRenderContext renderContext)
Parameters:
  • gameContext (Protogame.IGameContext) –
  • renderContext (Protogame.IRenderContext) –
public void Update(IGameContext gameContext, IUpdateContext updateContext)
Parameters:
  • gameContext (Protogame.IGameContext) –
  • updateContext (Protogame.IUpdateContext) –
public void Update(Protogame.IServerContext serverContext, IUpdateContext updateContext)
Parameters:
  • serverContext (Protogame.IServerContext) –
  • updateContext (Protogame.IUpdateContext) –