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;
|
|
|
|
|
|
|
|
public readonly float DeltaTimeFrame = (float)Elapsed.TotalMilliseconds;
|
2024-01-26 23:40:02 +03:00
|
|
|
}
|