| 465 | } |
| 466 | |
| 467 | void TitleScreen::initModsMenu() { |
| 468 | auto modsMenu = make_shared<ModsMenu>(); |
| 469 | modsMenu->setAnchor(PaneAnchor::Center); |
| 470 | modsMenu->lockPosition(); |
| 471 | |
| 472 | m_paneManager.registerPane("modsMenu", PaneLayer::Hud, modsMenu, [this](PanePtr const&) { |
| 473 | back(); |
| 474 | }); |
| 475 | } |
| 476 | |
| 477 | void TitleScreen::switchState(TitleState titleState) { |
| 478 | if (m_titleState == titleState) |
nothing calls this directly
no test coverage detected