Better boat handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user