CSEngine
Loading...
Searching...
No Matches
Scene.cpp
1#include "Scene.h"
2#include "../MemoryMgr.h"
3#include "../SceneMgr.h"
4#include "../EngineCore.h"
5
6using namespace CSE;
7
8Scene::Scene() {
9 SetUndestroyable(true);
10}
11
12
13Scene::~Scene() = default;
14
15
16void Scene::Exterminate() {
17 Destroy();
18}
19
20
21void Scene::SetScene(Scene* scene) {
22 CORE->GetCore(SceneMgr)->SetScene(scene);
23}