port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using Aiwaz.Common.Animations;
namespace Aiwaz.Common
{
public static class Timeline
{
private static double realTime;
public static double RealTime { get { return realTime; } }
private static double demoTime;
public static double DemoTime { get { return demoTime; } }
public static double SpeedAndDirection { get; set; }
private static double lastRealDeltaTime;
public static void Advance(double argSeconds)
{
lastRealDeltaTime = argSeconds;
realTime += argSeconds;
demoTime += argSeconds * SpeedAndDirection;
AnimationManager.Animate();
}
}
}