Better boat handling

This commit is contained in:
2025-11-30 18:28:26 +03:00
parent cd82fb0eed
commit 5b014dcb65
21 changed files with 938 additions and 230 deletions

View File

@@ -27,5 +27,16 @@ struct LuaBase {
struct LuaModule {
LuaModule(flecs::world &ecs);
};
struct LuaEvent {
struct Event {
Ogre::String event;
flecs::entity e1, e2;
};
std::list<Event> events;
void add(const Ogre::String &event, flecs::entity e1, flecs::entity e2)
{
events.push_back({ event, e1, e2 });
}
};
}
#endif