diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:00:43 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-21 10:00:43 +0100 |
commit | e7facf23888c38e09128749822c8e7d2b1d7e2fe (patch) | |
tree | b89d956bffd98b3e7bece0399a5090300dc1e19d /src/crepe/api/LoopManager.hpp | |
parent | e2f085c444a8b37af65816e10bf366e6860d25c2 (diff) | |
parent | 1bc04b371f2cc8740f2ee039f75101922da671d6 (diff) |
Merge branch 'master' into loek/util
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, |