aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-03 19:41:23 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:54 +0200
commit93123e97251fc791c1cac193d675cce9a1ac2de6 (patch)
tree4486453695d6f715e767bd91bcee89c92f54f7ba /src/bootstrap.cpp
parent70b21e90d7be4d892b7d17440d64630e7ee1a575 (diff)
feat: add moving cursor
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index 6b4a954..bd2cbbd 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -16,6 +16,7 @@
#include "engine/graphics/scene.hpp"
#include "engine/graphics/string_matrix.hpp"
#include "engine/graphics/vector2.hpp"
+#include "engine/user/cursor.hpp"
#include "engine/user/input.hpp"
#include "game/game.hpp"
#include "randomization/generator.hpp"
@@ -33,6 +34,7 @@ Container bootstrap()
container.bind<IGame>().to<Game>();
container.bind<IScene>().to<Scene>();
container.bind<IInputHandler>().to<InputHandler>();
+ container.bind<CursorController>().to<CursorController>();
container.bind<IRandomNumberGeneratorFactory>().to_factory(
[](const unsigned int &seed)