aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/scene.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-10 19:12:31 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commit38f14606c78c119d452f302f17329455e29a9a6f (patch)
tree03f6dfd9d3576e87260f7cb3bc436ad076b629c5 /src/interfaces/scene.hpp
parent09848ad31af6a1c70d64fccee711e231afb5a77f (diff)
refactor: rename game initializer & move input config
Diffstat (limited to 'src/interfaces/scene.hpp')
-rw-r--r--src/interfaces/scene.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp
index 39110a2..ca494cb 100644
--- a/src/interfaces/scene.hpp
+++ b/src/interfaces/scene.hpp
@@ -1,8 +1,9 @@
#pragma once
+#include "interfaces/cursor.hpp"
#include "interfaces/matrix.hpp"
+#include "interfaces/window.hpp"
-#include <functional>
#include <memory>
#include <string_view>
@@ -15,3 +16,5 @@ public:
virtual void leave() = 0;
};
+
+using ISceneFactory = std::shared_ptr<IScene> (*)();