diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 18:46:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 18:46:06 +0100 |
commit | 0aa97807cb9b7f1d1850449dd5a5e45b961445ce (patch) | |
tree | 8f6a808669a39f5b8d91079ecb30c3d1f11e9e02 /src/crepe/api/Scene.h | |
parent | bc2a31190b5afe7754b04e9c61fcda30e577d7d8 (diff) |
fix scene_manager example
Diffstat (limited to 'src/crepe/api/Scene.h')
-rw-r--r-- | src/crepe/api/Scene.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h index f8bcc3d..334f306 100644 --- a/src/crepe/api/Scene.h +++ b/src/crepe/api/Scene.h @@ -4,14 +4,20 @@ namespace crepe { +class ComponentManager; + class Scene { public: - Scene(const std::string & name); + Scene(ComponentManager & mgr, const std::string & name); virtual ~Scene() = default; + virtual void load_scene() = 0; public: - std::string name; + const std::string name; + +protected: + ComponentManager & component_manager; }; } // namespace crepe |