GameTimeExtensions

GameTimeExtensions is a public static class in the Extensions Namespace. It contains a couple of extension methods that can simplify certain GameTime checks. This class was part of the first attempt of developing SML, and the class was wholly written by fbrookie.

GetElapsedSeconds
Returns the number of total elapsed seconds since the game started.

GetElapsedMilliseconds
Returns the number of total elapsed milliseconds since the game started.