add cocos2d:: to ccobjectType because there isnt any namespace using in broma impls

This commit is contained in:
altalk23 2022-12-24 21:37:19 +03:00
parent 9cac3e68c6
commit ff1157aee1

View file

@ -3591,7 +3591,7 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
static cocos2d::CCScene* scene(GJGameLevel* level) {
auto scene = cocos2d::CCScene::create();
scene->addChild(LevelEditorLayer::create(level));
scene->setObjType(CCObjectType::LevelEditorLayer);
scene->setObjType(cocos2d::CCObjectType::LevelEditorLayer);
AppDelegate::get()->m_runningScene = scene;
return scene;
@ -4304,7 +4304,7 @@ class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate,
static cocos2d::CCScene* scene(GJGameLevel* level) {
auto scene = cocos2d::CCScene::create();
scene->addChild(PlayLayer::create(level));
scene->setObjType(CCObjectType::PlayLayer);
scene->setObjType(cocos2d::CCObjectType::PlayLayer);
AppDelegate::get()->m_runningScene = scene;
return scene;