RandomSystem.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RandomId.hpp"
5 
6 namespace iv
7 {
8 
11 class RandomSystem : public System
12 {
13 public:
15  virtual std::string debug_name() const override { return "RandomSystem"; }
16 
17  void seed( RandomId, uint_fast32_t seed );
18  uint_fast32_t seed( RandomId );
19 
20 private:
21  std::unordered_map< RandomId, uint_fast32_t > seeds;
22 };
23 
24 }