aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index bd2cbbd..abee66e 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -4,6 +4,7 @@
#include "interfaces/argument_parser.hpp"
#include "interfaces/bounds.hpp"
#include "interfaces/game.hpp"
+#include "interfaces/game_initializer.hpp"
#include "interfaces/input.hpp"
#include "interfaces/matrix.hpp"
#include "interfaces/randomization.hpp"
@@ -12,6 +13,7 @@
// Implementations
#include "argument_parser.hpp"
+#include "engine/game_initializer.hpp"
#include "engine/graphics/bounds.hpp"
#include "engine/graphics/scene.hpp"
#include "engine/graphics/string_matrix.hpp"
@@ -35,6 +37,7 @@ Container bootstrap()
container.bind<IScene>().to<Scene>();
container.bind<IInputHandler>().to<InputHandler>();
container.bind<CursorController>().to<CursorController>();
+ container.bind<IGameInitializer>().to<GameInitializer>();
container.bind<IRandomNumberGeneratorFactory>().to_factory(
[](const unsigned int &seed)