C# Class FarseerPhysics.Common.Stopwatch

An emulation for the Stopwatch class for Windows Phone and Silverlight.
Afficher le fichier Open project: tinco/Farseer-Physics

Méthodes publiques

Méthode 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

Méthode Description
GetCurrentElapsedTicks ( ) : long
GetCurrentTicks ( ) : long

Method Details

Reset() public méthode

Completely resets and deactivates the timer.
public Reset ( ) : void
Résultat void

Start() public méthode

Begins the timer.
public Start ( ) : void
Résultat void

StartNew() public static méthode

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

Stop() public méthode

Stops the current timer.
public Stop ( ) : void
Résultat void

Stopwatch() public méthode

Creates an instance of the Stopwatch class.
public Stopwatch ( ) : System
Résultat System