| 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) { |
| 53 | _screenMode = ScreenMode::MainMenu; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | void MainMenu::renderTrademark() { |
| 58 | _trademarkBackground.draw(0, 0, 0, 4, 3); |
nothing calls this directly
no outgoing calls
no test coverage detected