void Stop() {
timer = app::Timer<Uint32>();
}
+ bool Started() const {
+ return timer.Started();
+ }
bool Running() const {
return timer.Running() && (repeat || timer.Iteration() < NumFrames());
}
+ bool Finished() const {
+ return Started() && !Running();
+ }
bool JustFinished() const {
return timer.JustHit() && timer.Iteration() == NumFrames();
}