61 static void SetInstance(
EngineCore& engineCore);
64 bool isEditor =
false;
65 const char* applicationModuleName =
nullptr;
66 const char* applicationTitle =
nullptr;
67 const char* projectPath =
nullptr;
68 const char* engineBinaryPath =
nullptr;
79 virtual void InitializeScene(
bool shouldLoadSceneFromDefaults,
const char* scenePath =
nullptr);
80 virtual void ShowMainWindow();
84 virtual void RunEditorLoopIteration();
85 virtual void RunLoopIteration();
86 virtual void UpdateWindows();
102 virtual std::filesystem::path GetProjectPath()
const;
103 virtual std::filesystem::path GetBinaryPath()
const;
104 virtual std::filesystem::path GetEngineBinaryPath()
const;
105 virtual std::filesystem::path GetAssetsPath()
const;
106 virtual std::filesystem::path GetEngineAssetsPath()
const;
107 virtual std::filesystem::path GetAssetPath(std::string subPath)
const;
108 virtual entt::registry& GetEntityRegistry();
109 virtual void ReloadCsharpBinaries();
113 virtual void CalculateDeltaTime();
114 virtual double GetTimeSinceLaunch()
const;
115 virtual double GetDeltaTime()
const;
123 std::function<void()> callbackReloadCsharp;
124 bool isEditor =
false;
126 double currentTime = 0.0;
127 double deltaTime = 0.0;
128 std::chrono::steady_clock::time_point firstFrameTime;
129 std::chrono::steady_clock::time_point lastFrameTime;
140 bool shouldClose =
false;
141 std::filesystem::path projectPath;
142 std::filesystem::path binaryPath;
143 std::filesystem::path engineBinaryPath;
144 std::filesystem::path engineAssetsPath;
145 std::filesystem::path assetsPath;
Definition WorldContextManager.hpp:12