C# Class Myre.Extensions.GameTimeExtensions

A static class containing extension methods for the Microsoft.Xna.Framework.GameTime class.
Exibir arquivo Open project: martindevans/Myre

Public Methods

Method 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 method

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

TotalSeconds() public static method

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