When creating a game and using a plugin, we currently need to add all systems / resources of the plugin by hand.
Example:
core.RegisterSystem<ES::Engine::Scheduler::Startup>(ESGL::InitGLFW);
core.RegisterSystem<ES::Engine::Scheduler::Startup>(ESGL::SetupGLFWHints);
...
core.RegisterSystem<ES::Engine::Scheduler::Update>(ESGL::PollEvents);
core.RegisterSystem<ES::Engine::Scheduler::Update>(ESGL::MouseDragging);
We should be able to add all systems/resources by calling one function/method.
Warning
Don't forget to add a way to unify this through documentation.
Don't forget that plugins could also require others plugins.
Reactions are currently unavailable
When creating a game and using a plugin, we currently need to add all systems / resources of the plugin by hand.
Example:
We should be able to add all systems/resources by calling one function/method.
Warning
Don't forget to add a way to unify this through documentation.
Don't forget that plugins could also require others plugins.