aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-07 16:01:19 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-07 16:01:19 +0100
commit2e6fcb1d048edd13a2ec69ddd226fc8ebabc2389 (patch)
tree249b4633d24339467de9d0d008dce602a9cbd2cc /src/crepe/api/Script.h
parentf19f37ae3eff84161f86e62a26fbd8b68f8f91a9 (diff)
add SaveManager to Script
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r--src/crepe/api/Script.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index d99ab0e..024f1d7 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -7,6 +7,7 @@
#include "../system/CollisionSystem.h"
#include "../types.h"
#include "../util/OptionalRef.h"
+#include "../ValueBroker.h"
namespace crepe {
@@ -113,6 +114,9 @@ protected:
*/
void set_next_scene(const std::string & name);
+ //! Retrieve SaveManager reference
+ SaveManager & get_save_manager() const;
+
//! \}
private: