C# Class PlatformerPOC.Helpers.GameTimer

Afficher le fichier Open project: bramdemoor/MonoGame-PlatformerPOC

Méthodes publiques

Méthode Description
GameTimer ( ) : System
Reset ( ) : void
Stopwatch ( int ms ) : bool

Private Methods

Méthode Description
TimeGetTime ( ) : long

Convert ticks to milliseconds. 10,000 ticks in 1 millisecond.

Method Details

GameTimer() public méthode

public GameTimer ( ) : System
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

Stopwatch() public méthode

public Stopwatch ( int ms ) : bool
ms int
Résultat bool