GameTimer is a timer used for interpolation. When the timer is updated
it returns a GameTime object that represents the current snapshot of
the simulation - elapsed time from the last update call, and the total
time the simulation has been running. This does not necessarily
reflect real time, since the timer can be paused.
Declaration Syntax
C# |
public sealed class GameTimer
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
GameTimer()()()() |
Create a new instance of the game timer.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GameTime |
Gets the game time snapshot.
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Pause()()()() |
Pause the timer.
|
|
Reset()()()() |
Reset the timer. The timer will be invalid until it is started.
|
|
Resume()()()() |
Resume the timer.
|
|
Start()()()() |
Start the timer.
|
|
ToString()()()() |
(Inherited from Object.) |
|
Update()()()() |
Advance and update the timer.
|
Inheritance Hierarchy
Object | |
GameTimer |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)