aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index bc37c91..dd0d3c8 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -5,17 +5,22 @@
#include "interfaces/input.hpp"
#include "interfaces/scene.hpp"
+#include "engine/user/cursor.hpp"
+
#include <memory>
-class Game : public IGame, public AutoWirable<IGame, Game, IScene, IInputHandler>
+class Game : public IGame,
+ public AutoWirable<IGame, Game, IScene, IInputHandler, CursorController>
{
public:
explicit Game(std::shared_ptr<IScene> scene,
- std::shared_ptr<IInputHandler> input_handler);
+ std::shared_ptr<IInputHandler> input_handler,
+ std::shared_ptr<CursorController> cursor_controller);
void run() override;
private:
std::shared_ptr<IScene> _scene;
std::shared_ptr<IInputHandler> _input_handler;
+ std::shared_ptr<CursorController> _cursor_controller;
};