MiniGame-Madness
|
A class that represents the maze game. More...
#include <maze.h>
Public Member Functions | |
Maze (int width, int height) | |
Constructor for Maze class. More... | |
~Maze ()=default | |
Destructor for Maze class. | |
int | run () |
Runs the game logic/loop. More... | |
Friends | |
class | MazeTests::MazeTests |
A class that represents the maze game.
This class provides methods to generate the maze, handle player moves, and check game conditions.
Maze::Maze | ( | int | width, |
int | height | ||
) |
Constructor for Maze class.
width | - The width of the maze. |
height | - The height of the maze. |
int Maze::run | ( | ) |
Runs the game logic/loop.
The game logic will handle player moves, check game conditions, and print the maze to the console.