Class Time
Provides access to the global game time variables from the GameTime class.
public static class Time
- Inheritance
-
Time
- Inherited Members
Properties
DeltaTime
The time in seconds it took to complete the last frame.
public static float DeltaTime { get; }
Property Value
GameTime
The MonoGame GameTime class.
public static GameTime GameTime { get; }
Property Value
- GameTime
Methods
Update(GameTime)
Updated the GameTime in this class.
public static void Update(GameTime gameTime)
Parameters
gameTimeGameTime