FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Define a way to add a plugin to Core · Issue #102 · EngineSquared/EngineSquared · GitHub

Define a way to add a plugin to Core #102

Description

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.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL