aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/SceneManager.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-22 09:36:35 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-22 09:36:35 +0100
commit7c21e34ae1898fce8c8051b5f1380e268da32140 (patch)
treed5710874f07aae44dcaad994c26c028d17012768 /src/crepe/api/SceneManager.h
parent07bca38a27f794ed6a2f74536f7a909530ce7df0 (diff)
Replaced ComponentManager reference by OptionalRef for late binding
Diffstat (limited to 'src/crepe/api/SceneManager.h')
-rw-r--r--src/crepe/api/SceneManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/SceneManager.h b/src/crepe/api/SceneManager.h
index 45ba668..f6f62cd 100644
--- a/src/crepe/api/SceneManager.h
+++ b/src/crepe/api/SceneManager.h
@@ -26,8 +26,8 @@ public:
*
* \tparam T Type of concrete scene
*/
- template <typename T>
- void add_scene();
+ template <typename T, typename... Args>
+ void add_scene(Args &&... args);
/**
* \brief Set the next scene
*