8#include <entt/locator/locator.hpp>
19 auto& lua = entt::locator<sol::state>::value();
21 auto sm_type = lua.new_usertype<
SystemManager>(
"SystemManager", sol::no_constructor);
static void inject_systems() noexcept
Injects galaxy system management into Lua.
Manages the systems assigned to it.
void add_system(const std::string &system)
Add a system to operate on entities in this scene.
void clear()
Remove all systems.
void resume() noexcept
Resume all systems.
void suspend() noexcept
Suspend all running systems.
void update(EntityManager &em, Scene *scene)
Process all systems.
SystemStack & stack() noexcept
Get list of systems.