MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / create

Method create

Source/LevelPage.cpp:187–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 MenuLayer::music = false;
186}
187LevelPage* LevelPage::create(GJGameLevel* level)
188{
189 LevelPage* pRet = new LevelPage();
190 if (pRet->init(level))
191 {
192 pRet->autorelease();
193 return pRet;
194 }
195 else
196 {
197 delete pRet;
198 pRet = nullptr;
199 return nullptr;
200 }
201}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected