change the comment from Chinese to English.

This commit is contained in:
natural-law 2010-10-29 03:49:54 +00:00
parent a2816a5cec
commit c774653018
1 changed files with 2 additions and 2 deletions

View File

@ -89,13 +89,13 @@ Boolean AppDelegate::EventHandler(EventType* pEvent)
return (bHandled) ? TRUE : CCXApplication::EventHandler(pEvent); return (bHandled) ? TRUE : CCXApplication::EventHandler(pEvent);
} }
// 应用转入后台时的处理(有来电时此函数也会被调用) // This function be called when the app unactived,(if coming a call,it's be called too)
void AppDelegate::applicationDidEnterBackground() void AppDelegate::applicationDidEnterBackground()
{ {
CCDirector::getSharedDirector()->stopAnimation(); CCDirector::getSharedDirector()->stopAnimation();
} }
// 应用重新被激活的处理 // This function be called when the app actived again
void AppDelegate::applicationWillEnterForeground() void AppDelegate::applicationWillEnterForeground()
{ {
CCDirector::getSharedDirector()->startAnimation(); CCDirector::getSharedDirector()->startAnimation();