Khaotic Engine Reborn
Loading...
Searching...
No Matches
scene_manager.h
1#pragma once
2#include <filesystem>
3#include <string>
4#include <vector>
5
6#include "ecs/entity.h"
7
8class d_3d_class;
9class object;
11
13{
14public:
15
18
29 bool shutdown();
30
38 bool save_scene_as();
45 bool save_scene();
51 bool load_scene();
52
57 std::wstring get_scene_path();
63 std::string convert_w_string_to_string(const std::wstring& w_str);
64
65private:
66
67 std::vector<std::shared_ptr<ecs::Entity>> entity_;
68
70 std::string scene_path_;
71 std::vector<object*> object_vec_;
72 int object_id_;
73 std::filesystem::path w_folder_;
74 d_3d_class* direct_3d_;
75};
bool initialize(application_class *app)
std::string convert_w_string_to_string(const std::wstring &w_str)
std::wstring get_scene_path()