diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-11 21:19:57 +0100 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-11 21:19:57 +0100 |
| commit | 000062b462a3af86db4dac4d8c9e5ef32feb2996 (patch) | |
| tree | d766704f5862520ead6a03656103dd2fbcce99e9 /src/crepe/api/Engine.hpp | |
| parent | 359ad8db97305856f4cfdade1cd1dada78a7a635 (diff) | |
split up loopmanager into SystemManager and Engine
Diffstat (limited to 'src/crepe/api/Engine.hpp')
| -rw-r--r-- | src/crepe/api/Engine.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crepe/api/Engine.hpp b/src/crepe/api/Engine.hpp new file mode 100644 index 0000000..f2fdc0a --- /dev/null +++ b/src/crepe/api/Engine.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include "Engine.h" + +namespace crepe { + +template <class T> +void Engine::add_scene() { + this->scene_manager.add_scene<T>(); +} + +} // namespace crepe |