aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index adb53a2..1effa96 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -1,7 +1,6 @@
#include "bootstrap.hpp"
// Interfaces
-#include "interfaces/argument_parser.hpp"
#include "interfaces/cell_helper.hpp"
#include "interfaces/cursor.hpp"
#include "interfaces/engine.hpp"
@@ -9,13 +8,11 @@
#include "interfaces/generation_tracker.hpp"
#include "interfaces/input.hpp"
#include "interfaces/matrix.hpp"
-#include "interfaces/randomization.hpp"
#include "interfaces/scene.hpp"
#include "interfaces/status_manager.hpp"
#include "interfaces/statusline.hpp"
// Implementations
-#include "argument_parser.hpp"
#include "engine/data/bounds.hpp"
#include "engine/data/vector2.hpp"
#include "engine/engine.hpp"
@@ -28,8 +25,6 @@
#include "game/game.hpp"
#include "game/generation_tracker.hpp"
#include "game/status_manager.hpp"
-#include "randomization/generator.hpp"
-#include "randomization/seed_generator.hpp"
#include <fmt/core.h>
@@ -43,11 +38,9 @@ auto bootstrap() noexcept -> yacppdic::Container
{
auto container = yacppdic::Container();
- container.bind<IArgumentParser>().to<ArgumentParser>();
container.bind<IUserInputObserver>().to<UserInputObserver>();
container.bind<ICursorController>().to<CursorController>();
container.bind<ICLIGameEngine>().to<CLIGameEngine>();
- container.bind<ISeedGenerator>().to<SeedGenerator>();
container.bind<IGameFactory>().to_factory(
[&container](
@@ -75,12 +68,6 @@ auto bootstrap() noexcept -> yacppdic::Container
cell_helper_factory(*(scene->get_matrix())));
});
- container.bind<IRandomNumberGeneratorFactory>().to_factory(
- [](const uint32_t &seed)
- {
- return std::make_unique<RandomNumberGenerator>(seed);
- });
-
container.bind<IMatrixFactory<char>>().to_factory(
[](const Bounds &bounds)
{