aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Scene.h')
-rw-r--r--src/crepe/api/Scene.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h
index 334f306..422fffb 100644
--- a/src/crepe/api/Scene.h
+++ b/src/crepe/api/Scene.h
@@ -4,16 +4,18 @@
namespace crepe {
+class SceneManager;
class ComponentManager;
class Scene {
-public:
+protected:
Scene(ComponentManager & mgr, const std::string & name);
+ friend class SceneManager;
+public:
virtual ~Scene() = default;
- virtual void load_scene() = 0;
-
public:
+ virtual void load_scene() = 0;
const std::string name;
protected: