diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-21 09:06:52 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-21 09:06:52 +0100 |
commit | d3d207b9a2445a9219274466bae2254e1c3db268 (patch) | |
tree | 7c37a3d4f32de8ff617e1db42626eb6caa57b36c /src/crepe/api/LoopManager.hpp | |
parent | 8b5fd6188862bf9bdfc06a5419c8525d2dfd5f7f (diff) |
Added SceneManger to LoopManager
Diffstat (limited to 'src/crepe/api/LoopManager.hpp')
-rw-r--r-- | src/crepe/api/LoopManager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/api/LoopManager.hpp b/src/crepe/api/LoopManager.hpp index 0b14fdb..9cf470b 100644 --- a/src/crepe/api/LoopManager.hpp +++ b/src/crepe/api/LoopManager.hpp @@ -11,6 +11,11 @@ namespace crepe { template <class T> +void LoopManager::add_scene() { + this->scene_manager.add_scene<T>(); +} + +template <class T> T & LoopManager::get_system() { using namespace std; static_assert(is_base_of<System, T>::value, |