YoggieEngine/BarinkEngine/Include/Scene/SceneManager.h
2022-07-09 22:21:56 +02:00

17 lines
326 B
C++

#pragma once
#include <string>
#include <map>
#include "Scene.h"
class SceneManager {
public:
static Scene* CreateScene(const std::string& name );
static Scene& GetScene(const std::string& name);
static void LoadScene(Scene& scene);
private:
static Scene* CurrentScene;
static std::map<std::string, Scene*> Scenes;
};