aboutsummaryrefslogtreecommitdiff
path: root/src/randomization/seed_generator.hpp
blob: 3584966d0791c3f9d4ebd1514bda4b82c08954c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "interfaces/randomization.hpp"

#include <yacppdic/auto_wirable.hpp>

#include <random>

class SeedGenerator : public ISeedGenerator,
					  public yacppdic::AutoWirable<ISeedGenerator, SeedGenerator>
{
public:
	SeedGenerator() noexcept = default;

	[[nodiscard]] auto random_seed() noexcept -> uint32_t override;

private:
	std::random_device _random_device;
};