mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-25 04:11:42 -04:00
add CCApplication::get to every platform
This commit is contained in:
parent
7e6a46a9d4
commit
91cecf3843
4 changed files with 16 additions and 0 deletions
loader/include/Geode/cocos/cocos2dx/platform
|
@ -32,6 +32,10 @@ public:
|
|||
*/
|
||||
static CCApplication* sharedApplication();
|
||||
|
||||
GEODE_ADD(
|
||||
static CCApplication* get();
|
||||
);
|
||||
|
||||
/**
|
||||
@brief Get current language config
|
||||
@return Current language config
|
||||
|
|
|
@ -57,6 +57,10 @@ public:
|
|||
@js getInstance
|
||||
*/
|
||||
static CCApplication* sharedApplication();
|
||||
|
||||
GEODE_ADD(
|
||||
static CCApplication* get();
|
||||
);
|
||||
|
||||
/**
|
||||
@brief Callback by CCDirector for limit FPS.
|
||||
|
|
|
@ -60,6 +60,10 @@ public:
|
|||
*/
|
||||
static CCApplication* sharedApplication();
|
||||
|
||||
GEODE_ADD(
|
||||
static CCApplication* get();
|
||||
);
|
||||
|
||||
/**
|
||||
@brief Get current language config
|
||||
@return Current language config
|
||||
|
|
|
@ -52,6 +52,10 @@ public:
|
|||
*/
|
||||
static CCApplication* sharedApplication();
|
||||
|
||||
GEODE_ADD(
|
||||
static CCApplication* get();
|
||||
);
|
||||
|
||||
/* override functions */
|
||||
virtual void setAnimationInterval(double interval);
|
||||
virtual ccLanguageType getCurrentLanguage();
|
||||
|
|
Loading…
Add table
Reference in a new issue