Use chrono::duration for animation frame durations.

This commit is contained in:
Zed A. Shaw 2026-01-19 11:50:00 -05:00
parent d81e127686
commit 5b509c277a
4 changed files with 53 additions and 12 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <random>
#include <chrono>
namespace Random {
@ -25,4 +26,6 @@ namespace Random {
return rand(GENERATOR);
}
std::chrono::milliseconds milliseconds(int from, int to);
}