aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.h
blob: 422fffbac3fc31cf3d243640c6b91e505073ba2d (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 <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