diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-15 20:27:51 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-15 20:27:51 +0100 |
commit | 5dae8f8d10d506abc3c75a1f66c1dfe620c84fc1 (patch) | |
tree | 2bfb6efef0535a35bab1da811a5f69cb5203dff9 /src/maze.hpp | |
parent | 9147551cd21d565f9503e3ebbcd2121e284d88d5 (diff) |
refactor: improve project design
Diffstat (limited to 'src/maze.hpp')
-rw-r--r-- | src/maze.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/maze.hpp b/src/maze.hpp deleted file mode 100644 index 650e60a..0000000 --- a/src/maze.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include "engine/matrix.hpp" -#include "engine/vector2.hpp" -#include "random_generator.hpp" -#include <memory> -#include <string> - -/** - * Turns a matrix into a maze. - * - * @param matrix A matrix - * @param start_pos The start position in the matrix - * @param space_element A matrix element used to indicate a space in a maze - * @param random_gen A pseudo-random number generator - */ -template <typename Element> -void matrix_to_maze(Matrix<Element> *matrix, std::shared_ptr<Vector2> start_pos, - Element space_element, - std::shared_ptr<RandomNumberGenerator> random_gen); - -#include "maze.tpp" |