Files
Nuake-custom/Nuake/Engine.h
2021-05-19 21:16:30 -04:00

36 lines
782 B
C++

#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<Window> CurrentWindow;
static Ref<Project> 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<Window> GetCurrentWindow();
static Ref<Scene> GetCurrentScene();
static bool LoadScene(Ref<Scene> scene);
static Ref<Project> GetProject();
static bool LoadProject(Ref<Project> project);
};