C# Class Myre.Extensions.GameTimeExtensions

A static class containing extension methods for the Microsoft.Xna.Framework.GameTime class.
Afficher le fichier Open project: martindevans/Myre

Méthodes publiques

Méthode Description
Seconds ( this t ) : float

Gets the number of seconds elapsed since the last frame.

TotalSeconds ( this t ) : double

Gets the total number of seconds elapsed since the game started.

Method Details

Seconds() public static méthode

Gets the number of seconds elapsed since the last frame.
public static Seconds ( this t ) : float
t this The t.
Résultat float

TotalSeconds() public static méthode

Gets the total number of seconds elapsed since the game started.
public static TotalSeconds ( this t ) : double
t this The t.
Résultat double