diff options
Diffstat (limited to 'src/commands/move_cursor.hpp')
-rw-r--r-- | src/commands/move_cursor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/move_cursor.hpp b/src/commands/move_cursor.hpp index aab228c..dc08c64 100644 --- a/src/commands/move_cursor.hpp +++ b/src/commands/move_cursor.hpp @@ -2,7 +2,7 @@ #include "interfaces/command.hpp" #include "interfaces/cursor.hpp" -#include "interfaces/window.hpp" +#include "interfaces/scene.hpp" #include "engine/data/vector2.hpp" @@ -14,12 +14,12 @@ public: MoveCursorCommand( const Vector2 &direction, const std::shared_ptr<ICursorController> &cursor_controller, - const std::shared_ptr<IWindow> &window) noexcept; + const std::shared_ptr<IScene> &scene) noexcept; void execute() noexcept override; private: Vector2 _direction; const std::shared_ptr<ICursorController> &_cursor_controller; - const std::shared_ptr<IWindow> &_window; + const std::shared_ptr<IScene> &_scene; }; |