diff --git a/Engine.Core/GameTime.cs b/Engine.Core/EngineTime.cs similarity index 78% rename from Engine.Core/GameTime.cs rename to Engine.Core/EngineTime.cs index 096d5b1..107748c 100644 --- a/Engine.Core/GameTime.cs +++ b/Engine.Core/EngineTime.cs @@ -2,7 +2,7 @@ using System; namespace Syntriax.Engine.Core; -public record GameTime +public record EngineTime ( TimeSpan Total, TimeSpan Elapsed diff --git a/Engine.Core/Time.cs b/Engine.Core/Time.cs index d9716c0..182463a 100644 --- a/Engine.Core/Time.cs +++ b/Engine.Core/Time.cs @@ -4,10 +4,10 @@ namespace Syntriax.Engine.Core; public static class Time { - private static GameTime _gameTime = new(TimeSpan.Zero, TimeSpan.Zero); + private static EngineTime _engineTime = new(TimeSpan.Zero, TimeSpan.Zero); - public static TimeSpan Total => _gameTime.Total; - public static TimeSpan Elapsed => _gameTime.Elapsed; + public static TimeSpan Total => _engineTime.Total; + public static TimeSpan Elapsed => _engineTime.Elapsed; - public static void SetTime(GameTime gameTime) => _gameTime = gameTime; + public static void SetTime(EngineTime engineTime) => _engineTime = engineTime; }