aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ScriptSystem.h
blob: 32e793c958a18d3d155636c827f37f7b19434df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include <forward_list>

#include "System.h"

namespace crepe {

class Script;

class ScriptSystem : public System {
public:
	static ScriptSystem & get_instance();
	void update();

private:
	ScriptSystem();
	~ScriptSystem();

private:
	// TODO: to forward_list<reference_wrapper>
	std::forward_list<Script *> get_scripts();
};

} // namespace crepe