CSEngine
Loading...
Searching...
No Matches
SceneMgr.h
1#pragma once
2#include "Base/Scene.h"
3#include "../MacroDef.h"
4#include "Base/CoreBase.h"
5
6namespace CSE {
7
8 class SceneMgr : public CoreBase {
9 public:
10 explicit SceneMgr();
11 ~SceneMgr() override;
12
13 void Init() override;
14
15 void Update(float elapsedTime) override;
16
17 void SetScene(Scene* scene);
18
19 Scene* GetCurrentScene() const;
20
21 private:
22 Scene* m_scene = nullptr;
23 };
24
25}