Merge pull request #205 from Cvolton/bi-additions

add CreatorLayer delegates
This commit is contained in:
alk 2023-08-04 23:41:24 +03:00 committed by GitHub
commit e51c328337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -940,8 +940,7 @@ class CreateMenuItem : CCMenuItemSpriteExtra {
int m_buildTab;
}
//TODO: inherits cocos2d::CCSceneTransitionDelegate
class CreatorLayer : cocos2d::CCLayer {
class CreatorLayer : cocos2d::CCLayer, cocos2d::CCSceneTransitionDelegate, DialogDelegate {
void onBack(cocos2d::CCObject*) = win 0x4fae0;
void onChallenge(cocos2d::CCObject*) = mac 0x142960, win 0x4f1b0;
void onLeaderboards(cocos2d::CCObject*) = win 0x4ed20;

View file

@ -8,6 +8,7 @@ RT_ADD(
class CC_DLL CCSceneTransitionDelegate
{
public:
CCSceneTransitionDelegate(const CCSceneTransitionDelegate&);
CCSceneTransitionDelegate();