8#include <entt/locator/locator.hpp>
17 void Lua::inject_systems() noexcept
19 auto& lua = entt::locator<sol::state>::value();
21 auto sm_type = lua.new_usertype<SystemManager>(
"SystemManager", sol::no_constructor);
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.