add CCApplication::get to every platform

This commit is contained in:
HJfod 2022-10-06 22:37:54 +03:00
parent 7e6a46a9d4
commit 91cecf3843
4 changed files with 16 additions and 0 deletions
loader/include/Geode/cocos/cocos2dx/platform

View file

@ -32,6 +32,10 @@ public:
*/
static CCApplication* sharedApplication();
GEODE_ADD(
static CCApplication* get();
);
/**
@brief Get current language config
@return Current language config

View file

@ -57,6 +57,10 @@ public:
@js getInstance
*/
static CCApplication* sharedApplication();
GEODE_ADD(
static CCApplication* get();
);
/**
@brief Callback by CCDirector for limit FPS.

View file

@ -60,6 +60,10 @@ public:
*/
static CCApplication* sharedApplication();
GEODE_ADD(
static CCApplication* get();
);
/**
@brief Get current language config
@return Current language config

View file

@ -52,6 +52,10 @@ public:
*/
static CCApplication* sharedApplication();
GEODE_ADD(
static CCApplication* get();
);
/* override functions */
virtual void setAnimationInterval(double interval);
virtual ccLanguageType getCurrentLanguage();