Maze Builder Docs 7.5.6
Loading...
Searching...
No Matches
algo_interface.h
Go to the documentation of this file.
1#ifndef ALGO_INTERFACE_H
2#define ALGO_INTERFACE_H
3
5namespace mazes
6{
7
8 class grid_interface;
9 class randomizer;
10
16 {
17
18 public:
23 virtual bool run(grid_interface *g, randomizer &rng) const noexcept = 0;
24
25 virtual ~algo_interface() = default;
26 };
27}
28#endif // ALGO_INTERFACE_H
Interface for runnable algorithms.
Definition algo_interface.h:16
virtual bool run(grid_interface *g, randomizer &rng) const noexcept=0
Interface method that algorithms must implement.
Interface for the grid class.
Definition grid_interface.h:20
Provides random-number generating capabilities.
Definition randomizer.h:17
Namespace for the maze builder.
Definition algo_interface.h:6