Working on scene and project serialisation
Added scene/project save and load to main menu, added file dialogs for opening and saving scene/project
This commit is contained in:
@ -2,9 +2,12 @@
|
||||
#include <filesystem>
|
||||
class Project {
|
||||
public:
|
||||
Project(const std::string& name): ProjectName(name){}
|
||||
void CreateProject(std::filesystem::path path );
|
||||
private:
|
||||
std::string ProjectName;
|
||||
Project(const std::string& name): Name(name){}
|
||||
|
||||
static void SaveProject(std::filesystem::path path, Project& project);
|
||||
static void LoadProject(std::filesystem::path path, Project& project);
|
||||
private:
|
||||
std::string Name;
|
||||
|
||||
};
|
||||
|
||||
};
|
Reference in New Issue
Block a user