13 #include "../stdafx.h"
17 #include "../safeguards.h"
24 if (this->
period.value == 0)
return;
29 while (this->
storage.elapsed >= this->period.value) {
35 this->callback(count);
42 if (this->fired)
return;
43 if (this->period.value == 0)
return;
45 this->storage.elapsed += delta;
47 if (this->storage.elapsed >= this->period.value) {
59 timer->Elapsed(delta);
69 if (period.priority == TimerGameTick::Priority::NONE)
return;
76 assert(timer->period.priority != period.priority);