feat: initial commit

This commit is contained in:
2025-12-01 12:36:01 +08:00
commit ee78bf2cb5
221 changed files with 56853 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
namespace Common.Timer.Runtime
{
public interface IStopwatch : ITimer
{
public float Duration { get; set; }
public bool DeactivateOnTimeReached { get; set; }
public float RemainingTime { get; set; }
public float Progress { get; set; }
public bool IsTimeReached => CurrentTime >= Duration;
public event Action OnTimeReached;
public void SetDuration(float value);
public void SetRemainingTime(float value);
public void SetProgress(float value);
public void EndTime();
}
}