2024-01-22 23:23:32 +03:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Syntriax.Engine.Core;
|
|
|
|
|
2024-01-26 23:40:02 +03:00
|
|
|
public readonly struct EngineTime(TimeSpan Total, TimeSpan Elapsed)
|
|
|
|
{
|
2024-02-01 18:43:33 +03:00
|
|
|
public readonly TimeSpan Total = Total;
|
|
|
|
public readonly TimeSpan Elapsed = Elapsed;
|
|
|
|
|
2024-09-26 22:59:25 +03:00
|
|
|
public readonly float DeltaTimeFrame = (float)Elapsed.TotalMilliseconds * .001f;
|
2024-01-26 23:40:02 +03:00
|
|
|
}
|