Khaotic Engine Reborn
Loading...
Searching...
No Matches
sceneManager.h
1
#pragma once
2
#include <string>
3
4
class
sceneManager
5
{
6
public
:
7
static
sceneManager
& Get()
8
{
9
static
sceneManager
instance;
10
return
instance;
11
}
12
13
sceneManager
(
sceneManager
const
&) =
delete
;
14
void
operator=(
sceneManager
const
&) =
delete
;
15
16
void
SetSceneFilePath(
const
std::string& path) { m_sceneFilePath = path; }
17
void
SetSceneFileName(
const
std::string& name) { m_sceneFileName = name; }
18
19
bool
SaveScene()
20
{
21
// Implement the save scene logic here
22
return
true
;
23
}
24
25
bool
LoadScene()
26
{
27
28
29
// Implement the load scene logic here
30
return
true
;
31
}
32
33
private
:
34
sceneManager
() =
default
;
35
~sceneManager
() =
default
;
36
37
// Scene file path
38
std::string m_sceneFilePath;
39
std::string m_sceneFileName;
40
};
sceneManager
Definition
sceneManager.h:5
enginecustom
src
inc
system
sceneManager.h
Generated by
1.12.0