aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-08 17:00:18 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commite0eaff89b5f3f289bf5d560ea64b969c90d32d18 (patch)
treea6e91afcf89abc91629f2bee545ccadacf9bb673 /src/bootstrap.cpp
parent3359b00178357cb68d14e807c6deef3182532307 (diff)
refactor: add cursor controller interface
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r--src/bootstrap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp
index 610945f..2e64986 100644
--- a/src/bootstrap.cpp
+++ b/src/bootstrap.cpp
@@ -2,6 +2,7 @@
// Interfaces
#include "interfaces/argument_parser.hpp"
+#include "interfaces/cursor.hpp"
#include "interfaces/game.hpp"
#include "interfaces/game_initializer.hpp"
#include "interfaces/input.hpp"
@@ -38,7 +39,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<ICursorController>().to<CursorController>();
container.bind<IGameInitializer>().to<GameInitializer>();
container.bind<IInputConfigurator>().to<InputConfigurator>();