From 5f75bdbf3d38c94baeae52f4c4889f147ec6885e Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 5 Nov 2024 15:34:31 +0100 Subject: move systems + update contributing.md --- src/crepe/system/ScriptSystem.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/crepe/system/ScriptSystem.h (limited to 'src/crepe/system/ScriptSystem.h') diff --git a/src/crepe/system/ScriptSystem.h b/src/crepe/system/ScriptSystem.h new file mode 100644 index 0000000..1f472a0 --- /dev/null +++ b/src/crepe/system/ScriptSystem.h @@ -0,0 +1,26 @@ +#pragma once + +#include + +#include "System.h" + +namespace crepe::api { +class Script; +} + +namespace crepe { + +class ScriptSystem : public System { +public: + static ScriptSystem & get_instance(); + void update(); + +private: + ScriptSystem(); + ~ScriptSystem(); + +private: + std::forward_list get_scripts(); +}; + +} // namespace crepe -- cgit v1.2.3