MCPcopy Create free account
hub / github.com/axmolengine/axmol / applicationWillEnterForeground

Method applicationWillEnterForeground

templates/cpp/Source/AppDelegate.cpp:107–114  ·  view source on GitHub ↗

this function will be called when the app is active again

Source from the content-addressed store, hash-verified

105
106// this function will be called when the app is active again
107void AppDelegate::applicationWillEnterForeground()
108{
109 Director::getInstance()->startAnimation();
110
111#if USE_AUDIO_ENGINE
112 AudioEngine::resumeAll();
113#endif
114}
115
116void AppDelegate::applicationWillQuit() {}
117

Callers 4

ResumeMethod · 0.45
DeviceLostMethod · 0.45

Calls 2

getInstanceFunction · 0.85
startAnimationMethod · 0.80

Tested by

no test coverage detected