MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / processEvent

Method processEvent

src/OD2/Scenes/MainMenu/MainMenu.cpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void 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
57void MainMenu::renderTrademark() {
58 _trademarkBackground.draw(0, 0, 0, 4, 3);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected