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

Method update

src/OD2/Scenes/MainMenu/MainMenu.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void MainMenu::update(const std::chrono::duration<double> deltaTime) {
34 if (playedIntroVideos < 2) {
35 Abyss::AbyssEngine::getInstance().playVideo(Common::ResourcePaths::Videos::BlizardStartup2);
36 playMainThemeMusic();
37 playedIntroVideos = 2;
38 return;
39 }
40 _d2Logo.update(deltaTime);
41}
42
43void MainMenu::playMainThemeMusic() {
44 if (Abyss::AbyssEngine::getInstance().fileExists(Common::ResourcePaths::Music::Title)) {

Callers

nothing calls this directly

Calls 1

playVideoMethod · 0.80

Tested by

no test coverage detected