UnFreezes clock so that relative time updates

Namespace:  Equis.JanusToolkit
Assembly:  Janus (in Janus.dll)

Syntax

C#
public static void UnFreeze()

Remarks

This method is used at the end of the Draw method in an XNA game to unfreeze the time used by the Janus clock. This method must always be used in conjunction with the Freeze method.

Examples

 Copy imageCopy Code
             protected override void Draw(GameTime gameTime)
                {
                    Janus.Freeze();
                    
                    // all the draw code goes in here
                    // between Freeze and UnFreeze
                    
                    Janus.UnFreeze();
                }
            

See Also