22 lines
426 B
C++
22 lines
426 B
C++
#include "Scene/SceneManager.h"
|
|
|
|
Scene* SceneManager::CreateScene(const std::string& name)
|
|
{
|
|
/*
|
|
Scenes = std::map<std::string, Scene*>();
|
|
SceneManager::Scenes[name] = new Scene(name);
|
|
*/
|
|
|
|
return new Scene(name);
|
|
}
|
|
|
|
Scene& SceneManager::GetScene(const std::string& name)
|
|
{
|
|
return Scene();
|
|
//return *SceneManager::Scenes[name];
|
|
}
|
|
|
|
void SceneManager::LoadScene( Scene& scene)
|
|
{
|
|
//SceneManager::CurrentScene = &scene;
|
|
} |