refactor(Timer.cs): Another general timer refactor #16

Merged
Lubba-64 merged 2 commits from another-timer-refactor into main 2022-06-07 02:01:14 +00:00
Lubba-64 commented 2022-06-07 02:00:05 +00:00 (Migrated from github.com)

Since there are so many possible deltas that you could use with the
timer everything got consolidated to the Timer.Tick() method, which
allows you to use whatever delta you want.

In addition, the class could not be serialized for easier configuration,
this has been fixed.

A missing feature was "auto restart" which ideally would restart the timer
automatically as it runs out. This feature has been added.

Since there are so many possible deltas that you could use with the timer everything got consolidated to the Timer.Tick() method, which allows you to use whatever delta you want. In addition, the class could not be serialized for easier configuration, this has been fixed. A missing feature was "auto restart" which ideally would restart the timer automatically as it runs out. This feature has been added.
Sign in to join this conversation.
No description provided.