aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Engine.hpp')
-rw-r--r--src/crepe/api/Engine.hpp12
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