aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.h
blob: 0e516b6f74f39f78c784201bb7f38d4209fd2fee (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
26
#pragma once

#include <string>

namespace crepe {

class SceneManager;
class ComponentManager;

class Scene {
protected:
	Scene(ComponentManager & mgr, const std::string & name);
	friend class SceneManager;

public:
	virtual ~Scene() = default;

public:
	virtual void load_scene() = 0;
	const std::string name;

protected:
	ComponentManager & component_manager;
};

} // namespace crepe