diff options
Diffstat (limited to 'src/maze.hpp')
-rw-r--r-- | src/maze.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/maze.hpp b/src/maze.hpp index e525d70..650e60a 100644 --- a/src/maze.hpp +++ b/src/maze.hpp @@ -2,8 +2,8 @@ #include "engine/matrix.hpp" #include "engine/vector2.hpp" +#include "random_generator.hpp" #include <memory> -#include <random> #include <string> /** @@ -16,6 +16,7 @@ */ template <typename Element> void matrix_to_maze(Matrix<Element> *matrix, std::shared_ptr<Vector2> start_pos, - Element space_element, std::mt19937 random_gen); + Element space_element, + std::shared_ptr<RandomNumberGenerator> random_gen); #include "maze.tpp" |