Started implementing deficated editor GUI

This commit is contained in:
2025-12-04 15:51:56 +03:00
parent 6eed5063e6
commit e0db570581
14 changed files with 768 additions and 33 deletions

View File

@@ -0,0 +1,15 @@
#include "AppModule.h"
namespace ECS
{
AppModule::AppModule(flecs::world &ecs)
{
ecs.module<AppModule>();
ecs.component<App>()
.on_add([](App &app) {
app.mInput = nullptr;
app.mGuiOverlay = nullptr;
app.listeners.clear();
})
.add(flecs::Singleton);
}
}