GameTime

A container for game time

Constructors

this
this(GameTimeSpan total, GameTimeSpan delta)

Creates a new gametime instance

Members

Functions

updateDelta
void updateDelta(double delta)
Undocumented in source. Be warned that the author may not have intended to support it.
updateTotal
void updateTotal(double total)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

DeltaTime
GameTimeSpan DeltaTime;

The time between this and the last frame

TotalTime
GameTimeSpan TotalTime;

The total time the game has been running

Meta