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

Method applicationWillEnterForeground

templates/lua/Source/AppDelegate.cpp:91–98  ·  view source on GitHub ↗

this function will be called when the app is active again

Source from the content-addressed store, hash-verified

89
90// this function will be called when the app is active again
91void AppDelegate::applicationWillEnterForeground()
92{
93 Director::getInstance()->startAnimation();
94
95#if USE_AUDIO_ENGINE
96 AudioEngine::resumeAll();
97#endif
98}
99
100void AppDelegate::applicationWillQuit() {}

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
startAnimationMethod · 0.80

Tested by

no test coverage detected