ISensor¶
-
interface
ISensor
An abstract sensor attached to this device.
-
void
Render
(IGameContext gameContext, IRenderContext renderContext) Updates the sensor during the render step of the game.
Parameters: - gameContext (Protogame.IGameContext) – The current game context.
- renderContext (Protogame.IRenderContext) – The current render context.
-
void
Update
(IGameContext gameContext, IUpdateContext updateContext) Updates the sensor during the update step of the game.
Parameters: - gameContext (Protogame.IGameContext) – The current game context.
- updateContext (Protogame.IUpdateContext) – The current update context.
-
void