blob: cb6e20e5427362c79c1d2013efdcb94f67044c30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
}
|