mp_mazes
Maddening Mazes
|
Square Maze implementation. More...
Classes | |
class | SquareMaze |
Each SquareMaze object represents a randomly-generated square maze and its solution. More... | |
Enumerations | |
enum | Direction { RIGHT = 0 , DOWN = 1 , LEFT = 2 , UP = 3 } |
An enum is a special type representing a collection of constants. More... | |
Square Maze implementation.
enum Direction |
An enum is a special type representing a collection of constants.
See https://www.w3schools.com/cpp/cpp_enum.asp for details
This enum is used to specify the direction of movement within the maze. Each coordinate direction is associated with a fixed integer value. The value is arbitrarily chosen but will be used for grading so don't modify this.
The directions are defined as follows: