| 41 | } |
| 42 | |
| 43 | void MainMenu::playMainThemeMusic() { |
| 44 | if (Abyss::AbyssEngine::getInstance().fileExists(Common::ResourcePaths::Music::Title)) { |
| 45 | Abyss::AbyssEngine::getInstance().setBackgroundMusic(Common::ResourcePaths::Music::Title); |
| 46 | } else { |
| 47 | Abyss::AbyssEngine::getInstance().setBackgroundMusic(Common::SoundManager::getInstance().getSound("jukebox_music_group1")); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | void MainMenu::processEvent(const SDL_Event &event) { |
| 52 | if (_screenMode == ScreenMode::TradeMark && event.type == SDL_MOUSEBUTTONDOWN && event.button.button == SDL_BUTTON_LEFT) { |
nothing calls this directly
no test coverage detected