diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-05 13:26:55 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:54 +0200 |
commit | 6119f1428b3615e4738a121c6acf343942107fd9 (patch) | |
tree | 47eb5537674fe58ae8ad388521203b92bfb43529 /src/bootstrap.cpp | |
parent | d27f1a89266e141a944f88e9080bdeca95c49da3 (diff) |
refactor: move input config to own file & improve cleanup
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r-- | src/bootstrap.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index abee66e..343f01b 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -6,6 +6,7 @@ #include "interfaces/game.hpp" #include "interfaces/game_initializer.hpp" #include "interfaces/input.hpp" +#include "interfaces/input_configurator.hpp" #include "interfaces/matrix.hpp" #include "interfaces/randomization.hpp" #include "interfaces/scene.hpp" @@ -21,6 +22,7 @@ #include "engine/user/cursor.hpp" #include "engine/user/input.hpp" #include "game/game.hpp" +#include "game/input_configurator.hpp" #include "randomization/generator.hpp" #include "randomization/seed_generator.hpp" @@ -38,6 +40,7 @@ Container bootstrap() container.bind<IInputHandler>().to<InputHandler>(); container.bind<CursorController>().to<CursorController>(); container.bind<IGameInitializer>().to<GameInitializer>(); + container.bind<IInputConfigurator>().to<InputConfigurator>(); container.bind<IRandomNumberGeneratorFactory>().to_factory( [](const unsigned int &seed) |