Freezes clock at start of update method Stores time between updates

Namespace:  Equis.JanusToolkit
Assembly:  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

 Copy imageCopy Code
            protected override void Update(GameTime gameTime)
            {
                Janus.StartUpdate();
                   
                // all the update code goes in here between
                // StartUpdate and EndUpdate
            
                Janus.EndUpdate ();
            }
            

See Also