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
19 bool initialize(application_class* app);
20 bool shutdown();
21
22 bool save_scene_as();
23 bool save_scene();
24 bool load_scene();
25
26 std::wstring get_scene_path();
27 std::string convert_w_string_to_string(const std::wstring& w_str);
28
29private:
30
31 std::vector<std::shared_ptr<ecs::Entity>> entity_;
32
34 std::string scene_path_;
35 std::vector<object*> object_vec_;
36 int object_id_;
37 std::filesystem::path w_folder_;
38 d_3d_class* direct_3d_;
39};