2026-03-16 00:10:52 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
class ClockIterator {
|
|
|
|
|
private:
|
|
|
|
|
unsigned int max;
|
|
|
|
|
unsigned int counter;
|
|
|
|
|
public:
|
|
|
|
|
ClockIterator(unsigned int loopMillis);
|
|
|
|
|
unsigned int step(unsigned int millis);
|
|
|
|
|
float getPercentage();
|
|
|
|
|
unsigned int getPosition();
|
|
|
|
|
void reset();
|
|
|
|
|
};
|