aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index f22c689..276b73a 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -56,6 +56,7 @@ auto bootstrap() noexcept -> Container
container.bind<ICursorController>().to<CursorController>();
container.bind<ICLIGameEngine>().to<CLIGameEngine>();
container.bind<IWindow>().to<Window>();
+ container.bind<ISeedGenerator>().to<SeedGenerator>();
container.bind<IGameFactory>().to_factory(normalize_lambda(
[&container](const std::shared_ptr<IWindow> &window,
@@ -82,13 +83,6 @@ auto bootstrap() noexcept -> Container
seed);
});
- container.bind<ISeedGeneratorFactory>().to_factory(
- []()
- {
- return construct_as_interface<ISeedGenerator, SeedGenerator>(
- std::make_shared<std::random_device>());
- });
-
container.bind<IMatrixFactory<std::string_view>>().to_factory(
[](const Bounds &bounds)
{