ferx/engine/core/Engine.cpp
2024-11-22 04:37:06 +04:00

30 lines
301 B
C++

#include "Engine.h"
Engine* Engine::s_Instance = nullptr;
Engine::Engine()
{
s_Instance = this;
m_Window = new Window();
Renderer::Init();
}
Engine::~Engine()
{
Shutdown();
}
void Engine::Run()
{
Renderer::Render();
}
void Engine::Shutdown()
{
Renderer::Shutdown();
}