C# Class PlatformerPOC.Helpers.GameTimer

显示文件 Open project: bramdemoor/MonoGame-PlatformerPOC

Public Methods

Method Description
GameTimer ( ) : System
Reset ( ) : void
Stopwatch ( int ms ) : bool

Private Methods

Method Description
TimeGetTime ( ) : long

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

Method Details

GameTimer() public method

public GameTimer ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void

Stopwatch() public method

public Stopwatch ( int ms ) : bool
ms int
return bool