Maze Builder Docs 6.3.5
Loading...
Searching...
No Matches
maze.h
Go to the documentation of this file.
1#ifndef MAZE_H
2#define MAZE_H
3
4#include <string>
5#include <memory>
6#include <tuple>
7
8namespace mazes {
9
10class configurator;
11class grid_interface;
12
16class maze {
17public:
18 explicit maze(configurator const& config, std::string_view s) noexcept;
19
20 int get_block_id() const noexcept;
21
22 bool has_distances() const noexcept;
23
24 std::tuple<int, int, int> get_dimensions() const noexcept;
25
26 std::string_view str() const noexcept;
27private:
28 configurator const& m_config;
29 std::string m_str;
30}; // maze struct
31
32} // namespace mazes
33
34#endif // MAZE_H
Configuration class for the maze builder.
Definition configurator.h:14
Data class representing a 2D or 3D maze.
Definition maze.h:16
Namespace for the maze builder.
Definition algo_interface.h:9