I have no idea how to approach this yet. Lua ECS implementations for reference: [entitas-lua](https://github.com/sniper00/entitas-lua) [tiny-ecs](https://github.com/bakpakin/tiny-ecs) [ecs-lua](https://github.com/prime31/ecs-lua) (tiny-ecs fork)