feat: engine class impl + IApplication interface

This commit is contained in:
2025-10-05 16:27:58 +02:00
parent 9d56515fe5
commit 431d723afc
10 changed files with 318 additions and 263 deletions

19
include/app/app.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef APPLICATION_H_
#define APPLICATION_H_
#include "window/event.h"
class IApplication {
public:
virtual ~IApplication() = default;
virtual void OnInit() {};
virtual void OnUpdate() {};
virtual void OnRender() {};
virtual void OnShutdown() {};
virtual void OnEvent() {};
virtual void OnWindowResized(const WindowResized& e) {};
};
#endif // APPLICATION_H_