module ecs.system; import ecs.entity; import ecs.manager; struct System { ///should system update and catch events? bool enabled = true; ///system priority int prority; ///pointer to system implementation void* system_pointer; uint[] components; void function(ref EntityManager.CallData data, void* entity) update; }