Class CCApplicationProtocol

#include <Geode/cocos/platform/CCApplicationProtocol.h>
classCCApplicationProtocol{ ... }
No description provided
Examples0
Public static methods0
Public member functions11
virtualboolapplicationDidFinishLaunching()

Implement CCDirector and CCScene init code here.

Return value
false Initialize failed, app terminate.
virtualvoidapplicationDidEnterBackground()

The function be called when the application enter background

Parameters

the

pointer of the application
virtualvoidapplicationWillEnterForeground()

The function be called when the application enter foreground

Parameters

the

pointer of the application
virtualvoidapplicationWillBecomeActive()
No description provided
virtualvoidapplicationWillResignActive()
No description provided
virtualvoidtrySaveGame()
No description provided
virtualvoidgameDidSave()
No description provided
virtualvoidsetAnimationInterval(
doubleinterval
)

Callback by CCDirector for limit FPS.

virtualcocos2d::ccLanguageTypegetCurrentLanguage()

Get current language config

Return value
Current language config
virtualcocos2d::TargetPlatformgetTargetPlatform()

Get target platform

virtualvoidopenURL()
No description provided
Fields0
Protected member functions0
Protected fields0