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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h
index 334f306..0e516b6 100644
--- a/src/crepe/api/Scene.h
+++ b/src/crepe/api/Scene.h
@@ -4,16 +4,19 @@
namespace crepe {
+class SceneManager;
class ComponentManager;
class Scene {
-public:
+protected:
Scene(ComponentManager & mgr, const std::string & name);
- virtual ~Scene() = default;
+ friend class SceneManager;
- virtual void load_scene() = 0;
+public:
+ virtual ~Scene() = default;
public:
+ virtual void load_scene() = 0;
const std::string name;
protected: