diff options
Diffstat (limited to 'src/random.hpp')
-rw-r--r-- | src/random.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/random.hpp b/src/random.hpp index e74267a..18beef4 100644 --- a/src/random.hpp +++ b/src/random.hpp @@ -2,16 +2,16 @@ #define UR_RANDOM_H #include <random> + namespace ur { class Random { public: Random(int min, int max); + int next(); private: - int min; - int max; std::default_random_engine engine; std::normal_distribution<float> distribution; }; |