#pragma once #include "src/Core/Core.h" #include "src/Window.h" #include "src/Scene/Scene.h" #include "src/Resource/Project.h" #include "src/Scripting/ScriptLoader.h" #include "src/Core/Logger.h" class Engine { private: static float m_LastFrameTime; static Ref CurrentWindow; static Ref CurrentProject; public: static bool IsPlayMode; static void Init(); static void Run(); static void Tick(); static void EnterPlayMode(); static void ExitPlayMode(); static void Draw(); static void EndDraw(); static void Close(); static int HelloWorld(); static Ref GetCurrentWindow(); static Ref GetCurrentScene(); static bool LoadScene(Ref scene); static Ref GetProject(); static bool LoadProject(Ref project); };