diff options
Diffstat (limited to 'src/app/options.cpp')
-rw-r--r-- | src/app/options.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/app/options.cpp b/src/app/options.cpp new file mode 100644 index 0000000..cb6e20e --- /dev/null +++ b/src/app/options.cpp @@ -0,0 +1,43 @@ +#include "options.hpp" + +#include <utility> + +std::shared_ptr<Bounds> AppOptions::maze_bounds() const +{ + return _maze_bounds; +} + +void AppOptions::maze_bounds(std::shared_ptr<Bounds> maze_bounds) +{ + _maze_bounds = std::move(maze_bounds); +} + +std::shared_ptr<Vector2> AppOptions::start_coords() const +{ + return _start_coords; +} + +void AppOptions::start_coords(std::shared_ptr<Vector2> start_coords) +{ + _start_coords = std::move(start_coords); +} + +std::string_view AppOptions::wall() const +{ + return _wall; +} + +void AppOptions::wall(std::string_view wall) +{ + _wall = wall; +} + +std::shared_ptr<RandomNumberGenerator> AppOptions::random_gen() const +{ + return _random_gen; +} + +void AppOptions::random_gen(std::shared_ptr<RandomNumberGenerator> random_gen) +{ + _random_gen = std::move(random_gen); +} |