Freezes clock at start of update method
Stores time between updates
Namespace:
Equis.JanusToolkitAssembly: Janus (in Janus.dll)
Syntax
C# |
---|
public static void StartUpdate() |
Remarks
Must be placed at the beginning of the Update method in an XNA game.
Must be followed by EndUpdate().
Examples
![]() | |
---|---|
protected override void Update(GameTime gameTime) { Janus.StartUpdate(); // all the update code goes in here between // StartUpdate and EndUpdate Janus.EndUpdate (); } |