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

Method applicationDidEnterBackground

tests/cpp-tests/Source/AppDelegate.cpp:141–149  ·  view source on GitHub ↗

This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.

Source from the content-addressed store, hash-verified

139
140// This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.
141void AppDelegate::applicationDidEnterBackground()
142{
143 if (_testController)
144 {
145 // _testController->onEnterBackground();
146 }
147
148 Director::getInstance()->stopAnimation();
149}
150
151// this function will be called when the app is active again
152void AppDelegate::applicationWillEnterForeground()

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
stopAnimationMethod · 0.80

Tested by

no test coverage detected