Maze Builder Docs 8.10.23
Loading...
Searching...
No Matches
prims_maze_create_state.h
1#ifndef PRIMS_MAZE_CREATE_STATE_H
2#define PRIMS_MAZE_CREATE_STATE_H
3
4#include <MazeBuilder/algos.h>
6
7namespace mazes
8{
9 class args;
10 class randomizer;
11 class runtime_stack;
12
13 class prims_maze_create_state final : public link_maze_and_create_state
14 {
15 public:
16 explicit prims_maze_create_state(const runtime_app::context &ctx, runtime_stack *stack);
17
18 std::any create(const args &a, randomizer &rng) noexcept override;
19
20 private:
21 [[nodiscard]] algo get_algo_id() const noexcept override;
22 };
23} // namespace mazes
24
25#endif // PRIMS_MAZE_CREATE_STATE_H
algo
Enumeration of maze generation algorithms.
Definition algos.h:20
Command-line argument handler with JSON support.
Definition args.h:19
std::any create(const args &a, randomizer &rng) noexcept override
Create the maze using algorithm-specific logic.
Provides random-number generating capabilities.
Definition randomizer.h:16
Class representing the runtime stack of states in the maze builder application.
Definition runtime_stack.h:25
struct representing the context passed to states in the runtime_app stack
Definition runtime_app.h:34