C# Class FarseerPhysics.Common.Stopwatch

An emulation for the Stopwatch class for Windows Phone and Silverlight.
Show file Open project: tinco/Farseer-Physics

Public Methods

Method Description
Reset ( ) : void

Completely resets and deactivates the timer.

Start ( ) : void

Begins the timer.

StartNew ( ) : Stopwatch

Creates a new instance of the class and starts the watch immediately.

Stop ( ) : void

Stops the current timer.

Stopwatch ( ) : System

Creates an instance of the Stopwatch class.

Private Methods

Method Description
GetCurrentElapsedTicks ( ) : long
GetCurrentTicks ( ) : long

Method Details

Reset() public method

Completely resets and deactivates the timer.
public Reset ( ) : void
return void

Start() public method

Begins the timer.
public Start ( ) : void
return void

StartNew() public static method

Creates a new instance of the class and starts the watch immediately.
public static StartNew ( ) : Stopwatch
return Stopwatch

Stop() public method

Stops the current timer.
public Stop ( ) : void
return void

Stopwatch() public method

Creates an instance of the Stopwatch class.
public Stopwatch ( ) : System
return System