feat: ticker is decoupled from stopwatch and added timer and stopwatch tickers

This commit is contained in:
2025-07-25 23:24:08 +03:00
parent ad365dc722
commit df06e8d134
4 changed files with 45 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ public class Timer : Behaviour, IUpdate, ITimer
OnStopped?.Invoke(this);
}
public void Update()
public virtual void Update()
{
if (State is not TimerState.Ticking)
return;