Maze Builder Docs 8.10.23
Loading...
Searching...
No Matches
masked_maze_and_create_state.h
Go to the documentation of this file.
1#ifndef MASKED_MAZE_AND_CREATE_STATE_H
2#define MASKED_MAZE_AND_CREATE_STATE_H
3
4#include <MazeBuilder/algos.h>
6
7#include <string_view>
8
11namespace mazes
12{
13 class args;
14 class randomizer;
15 class runtime_stack;
21 {
22 public:
27
32 std::any create(const args &a, randomizer &rng) noexcept override;
33
34 private:
36 [[nodiscard]] algo get_algo_id() const noexcept override;
37 };
38} // namespace mazes
39
40#endif // MASKED_MAZE_AND_CREATE_STATE_H
algo
Enumeration of maze generation algorithms.
Definition algos.h:20
Command-line argument handler with JSON support.
Definition args.h:19
masked_maze_and_create_state(const runtime_app::context &ctx, runtime_stack *stack)
Construct a new masked maze creation state.
std::any create(const args &a, randomizer &rng) noexcept override
Create a masked maze with the given parameters.
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