11 configSolo->getRegistry(), configSolo->playMusic()));
12 configSolo->addSystem(std::make_unique<ecs::DebugSystem>(
m_engine->
getRenderer(), showDebug));
15 configSolo->addSystem(std::make_unique<ecs::StarfieldSystem>(
m_engine->
getRenderer(), configSolo->getRegistry()));
20 gameSolo->getRegistry(), gameSolo->playMusic()));
34 gameSolo->addSystem(std::make_unique<ecs::DebugSystem>(
m_engine->
getRenderer(), showDebug));
35 gameSolo->addSystem(std::make_unique<HUDSystem>(
m_engine->
getRenderer(), gameSolo->getRegistry()));
36 gameSolo->addSystem(std::make_unique<ecs::StarfieldSystem>(
m_engine->
getRenderer(), gameSolo->getRegistry()));
39 configSolo->onOptionSelected = [
this, gameSoloId, menuSceneId](
const std::string &option)
41 if (option ==
"Level easy")
45 else if (option ==
"Level medium")
49 else if (option ==
"Go back to menu")