diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 16:11:54 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 16:11:54 +0100 |
commit | 02c4c796888397496452aaa46c52691eef8707eb (patch) | |
tree | 37276a0ca8b57512d11af70e5f69555f95e84c6f /src/crepe/api | |
parent | a5d3564f6d051986376c98abb9c098a8a7183fe0 (diff) |
Added abstract Scene class
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Scene.cpp | 5 | ||||
-rw-r--r-- | src/crepe/api/Scene.h | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/crepe/api/Scene.cpp b/src/crepe/api/Scene.cpp new file mode 100644 index 0000000..189650f --- /dev/null +++ b/src/crepe/api/Scene.cpp @@ -0,0 +1,5 @@ +#include "Scene.h" + +using namespace crepe::api; + +Scene::Scene(std::string name) : name(name) {} diff --git a/src/crepe/api/Scene.h b/src/crepe/api/Scene.h new file mode 100644 index 0000000..35fe9db --- /dev/null +++ b/src/crepe/api/Scene.h @@ -0,0 +1,17 @@ +#pragma once + +#include <string> + +namespace crepe::api { + +class Scene { +public: + Scene(std::string name); + virtual ~Scene() = default; + virtual void load_scene() = 0; + +public: + std::string name; +}; + +} // namespace crepe::api |