Files
MonoGame.Extended/Source/MonoGame.Extended/GameTimeExtensions.cs
T

12 lines
274 B
C#

using Microsoft.Xna.Framework;
namespace MonoGame.Extended
{
public static class GameTimeExtensions
{
public static float GetElapsedSeconds(this GameTime gameTime)
{
return (float) gameTime.ElapsedGameTime.TotalSeconds;
}
}
}