mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
add cocos2d:: to ccobjectType because there isnt any namespace using in broma impls
This commit is contained in:
parent
9cac3e68c6
commit
ff1157aee1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue