Maze Builder Docs 6.7.5
Loading...
Searching...
No Matches
binary_tree.h
Go to the documentation of this file.
1#ifndef BINARY_TREE_H
2#define BINARY_TREE_H
3
5
6#include <memory>
7
8namespace mazes {
9
10class grid_interface;
11class randomizer;
12
17
18public:
19
24 bool run(std::unique_ptr<grid_interface> const& g, randomizer& rng) const noexcept override;
25private:
26
27};
28}
29#endif // BINARY_TREE_H
Interface for runnable algorithms.
Definition algo_interface.h:18
Binary tree algorithm for generating mazes.
Definition binary_tree.h:16
bool run(std::unique_ptr< grid_interface > const &g, randomizer &rng) const noexcept override
Run the binary tree algorithm.
Provides random-number generating capabilities.
Definition randomizer.h:15
Namespace for the maze builder.
Definition algo_interface.h:9