EndGate.GameTime

Description: Defines a game time class that is used to manage update timing execution as well as total game time.

Constructors

GameTime ()
Creates a new instance of the GameTime object.

Fields

Elapsed: EndGate.TimeSpan
Gets the elapsed time since the last update.

Now: Date
Gets the current date time at the start of the update.

Total: EndGate.TimeSpan
Gets the total amount of time surpassed since construction.

Methods

Update()
Updates the game time object. Causes the gameTime to refresh all its components.

Examples

There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.