aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-08 16:21:40 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:01 +0200
commitdcc6d3d5cafe47d53d1b321476bf73bb2d65ae9b (patch)
tree8fabd71b3f71d82a63694031dda1a89c49fb4f15 /src/interfaces
parent3f9004b598fc8006576db9b8d2ae4e080101101b (diff)
refactor: remove unused cursor controller dependency from scene
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/scene.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp
index daabb10..b7bb97d 100644
--- a/src/interfaces/scene.hpp
+++ b/src/interfaces/scene.hpp
@@ -7,8 +7,6 @@
#include "engine/data/bounds.hpp"
#include "engine/data/vector2.hpp"
-#include <yacppdic/factory.hpp>
-
#include <memory>
#include <string_view>
#include <utility>
@@ -39,5 +37,3 @@ public:
-> std::vector<std::pair<std::shared_ptr<IComponent>, Vector2>> = 0;
};
-using ISceneFactory = yacppdic::Factory<std::unique_ptr<IScene>(
- const std::shared_ptr<ICursorController> &cursor_controller)>;