Table of Contents

Class Time

Namespace
MonoEight.Core
Assembly
MonoEight.Template.dll

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

float

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

gameTime GameTime

GameTime