Maze Builder Docs 8.2.1
Loading...
Searching...
No Matches
barriers.h
Go to the documentation of this file.
1#ifndef BARRIERS_H
2#define BARRIERS_H
3
4#include <type_traits>
5
8namespace mazes
9{
11 enum class barrier : char
12 {
13 HORIZONTAL = '-',
14
15 VERTICAL = '|',
16
17 CORNER = '+',
18
19 SINGLE_SPACE = ' '
20 };
21
23 enum class direction : int
24 {
25 NORTH = 0,
26 SOUTH = 1,
27 EAST = 2,
28 WEST = 3
29 };
30} // namespace mazes
31
32#endif // BARRIERS_H
barrier
Character representations of walls and barriers in the maze.
Definition barriers.h:12
direction
Directional neighbors for grid topology.
Definition barriers.h:24