aboutsummaryrefslogtreecommitdiff
path: root/src/app/options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/options.hpp')
-rw-r--r--src/app/options.hpp32
1 files changed, 5 insertions, 27 deletions
diff --git a/src/app/options.hpp b/src/app/options.hpp
index 0023283..7e691e3 100644
--- a/src/app/options.hpp
+++ b/src/app/options.hpp
@@ -7,32 +7,10 @@
#include <memory>
#include <string_view>
-/**
- * Application options.
- */
-class AppOptions
+struct AppOptions
{
-public:
- AppOptions() = default;
-
- [[nodiscard]] std::shared_ptr<Bounds> maze_bounds() const;
- void maze_bounds(std::shared_ptr<Bounds> maze_bounds);
-
- [[nodiscard]] std::shared_ptr<Vector2> start_coords() const;
- void start_coords(std::shared_ptr<Vector2> start_coords);
-
- [[nodiscard]] std::string_view wall() const;
- void wall(std::string_view wall);
-
- [[nodiscard]] std::shared_ptr<RandomNumberGenerator> random_gen() const;
- void random_gen(std::shared_ptr<RandomNumberGenerator> random_gen);
-
-private:
- std::shared_ptr<Bounds> _maze_bounds = nullptr;
-
- std::shared_ptr<Vector2> _start_coords = nullptr;
-
- std::string_view _wall;
-
- std::shared_ptr<RandomNumberGenerator> _random_gen = nullptr;
+ std::shared_ptr<Bounds> maze_bounds;
+ std::shared_ptr<Vector2> start_coords;
+ std::string_view wall;
+ std::shared_ptr<RandomNumberGenerator> random_gen;
};