snow test

This commit is contained in:
MihailRis 2025-01-13 19:02:08 +03:00
parent fa6e2e1b1d
commit d36eb85dba
3 changed files with 28 additions and 15 deletions

View file

@ -20,6 +20,8 @@ namespace util {
class PseudoRandom {
unsigned short seed;
public:
PseudoRandom(unsigned short seed) : seed(seed) {}
PseudoRandom() {
seed = static_cast<unsigned short>(time(0));
}