#include "generator.hpp" RandomNumberGenerator::RandomNumberGenerator(const uint32_t &seed) noexcept { this->_generator = std::make_unique(seed); } auto RandomNumberGenerator::in_range(const uint32_t &a, const uint32_t &b) const noexcept -> uint32_t { auto random_distribution = std::uniform_int_distribution(a, b); return random_distribution(*this->_generator); }