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

#include "DI/auto_wirable.hpp"
#include "interfaces/randomization.hpp"

#include <random>

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

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

private:
	std::random_device _random_device;
};