add on detach

This commit is contained in:
2025-04-17 16:50:12 +03:00
parent de84573915
commit f2960ba125
4 changed files with 14 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ namespace VE
public:
virtual void on_attach() {};
virtual void on_detach() {};
virtual void render() {};
virtual void update() {};
virtual void on_event(event e) {};

View File

@@ -6,6 +6,7 @@
#define VE_OVERIDE()\
public:\
void on_attach() override;\
void on_detach() override;\
void render() override;\
void update() override;\
void on_event(VE::event e) override