mirror of https://github.com/axmolengine/axmol.git
debug
This commit is contained in:
parent
c8e2874c9f
commit
9caa4c2883
|
@ -105,12 +105,12 @@ Boolean Ttest_uphoneApp::EventHandler(EventType* pEvent)
|
|||
return bHandled;
|
||||
}
|
||||
|
||||
void Ttest_uphoneApp::applicationDidEnterBackground(TApplication* pApp)
|
||||
void Ttest_uphoneApp::applicationDidEnterBackground()
|
||||
{
|
||||
CCDirector::getSharedDirector()->stopAnimation();
|
||||
}
|
||||
|
||||
void Ttest_uphoneApp::applicationWillEnterForeground(TApplication* pApp)
|
||||
void Ttest_uphoneApp::applicationWillEnterForeground()
|
||||
{
|
||||
CCDirector::getSharedDirector()->startAnimation();
|
||||
}
|
||||
|
|
|
@ -21,8 +21,8 @@ public:
|
|||
public:
|
||||
virtual Boolean EventHandler(EventType * pEvent);
|
||||
|
||||
virtual void applicationDidEnterBackground(TApplication* pApp);
|
||||
virtual void applicationWillEnterForeground(TApplication* pApp);
|
||||
virtual void applicationDidEnterBackground();
|
||||
virtual void applicationWillEnterForeground();
|
||||
|
||||
protected:
|
||||
cocos2d::CCXEGLView * m_pMainWnd;
|
||||
|
|
Loading…
Reference in New Issue