Closed cmdrk closed 1 year ago
This set of changes changes the API to only require the world name when calling ECS functions.
E.g.,
fun(World) -> Query = ow_ecs:query(World), Component = ow_ecs:match_component(some_component, Query), % do something...
you now simply
fun(World) -> Component = ow_ecs:match_component(some_component, World) % do something...
Also changes entity/2 to simply return the components within.
entity/2
This set of changes changes the API to only require the world name when calling ECS functions.
E.g.,
you now simply
Also changes
entity/2
to simply return the components within.