aboutsummaryrefslogtreecommitdiff
path: root/src/commands/move_cursor.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-20 20:37:43 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commit1972939ebde39a3e90a50b021b2322d028f344de (patch)
tree9ee0a7c78f082bec084189906f28dc679a20d339 /src/commands/move_cursor.hpp
parente6644d6b235005de9ba1b9884472fa5f5d8d6074 (diff)
refactor: move updating status from the move cursor command
Diffstat (limited to 'src/commands/move_cursor.hpp')
-rw-r--r--src/commands/move_cursor.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commands/move_cursor.hpp b/src/commands/move_cursor.hpp
index 14a87e0..ff4723d 100644
--- a/src/commands/move_cursor.hpp
+++ b/src/commands/move_cursor.hpp
@@ -2,7 +2,6 @@
#include "interfaces/command.hpp"
#include "interfaces/cursor.hpp"
-#include "interfaces/scene.hpp"
#include "interfaces/window.hpp"
#include "engine/data/vector2.hpp"
@@ -14,7 +13,6 @@ class MoveCursorCommand : public ICommand
public:
MoveCursorCommand(const Vector2 &direction,
const std::shared_ptr<ICursorController> &cursor_controller,
- const std::shared_ptr<IScene> &scene,
const std::shared_ptr<IWindow> &window) noexcept;
void execute() noexcept override;
@@ -22,6 +20,5 @@ public:
private:
Vector2 _direction;
const std::shared_ptr<ICursorController> &_cursor_controller;
- const std::shared_ptr<IScene> &_scene;
const std::shared_ptr<IWindow> &_window;
};