6 return _core.RegisterSystem<TScheduler>(systems...);
11 return _core.RegisterResource(std::forward<TResource>(resource));
18 return _core.RegisterScheduler<TScheduler>(std::forward<Args>(args)...);
23 if (!
_core.HasPlugin<TPlugin>())
25 _core.AddPlugins<TPlugin>();
decltype(auto) RegisterSystems(Systems... systems)
Register systems to a scheduler.
Definition APlugin.ipp:4
void RequirePlugin()
Add a plugin to the core if it is not already added.
Definition APlugin.ipp:21
TScheduler & RegisterScheduler(Args &&...args)
Register a scheduler in the core.
Definition APlugin.ipp:16
Core & _core
Reference to the core, which is used to register systems and resources in the Bind method.
Definition APlugin.hpp:65
void RequirePlugins()
Add a plugin to the core.
Definition APlugin.ipp:14
TResource & RegisterResource(TResource &&resource)
Register a resource in the core.
Definition APlugin.ipp:9