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

Method create

Source/InfoLayer.cpp:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33USING_NS_AX;
34
35InfoLayer* InfoLayer::create(GJGameLevel* level)
36{
37 InfoLayer* pRet = new InfoLayer();
38
39 if (pRet->init(level))
40 {
41 pRet->autorelease();
42 return pRet;
43 }
44
45 AX_SAFE_DELETE(pRet);
46 return nullptr;
47}
48
49bool InfoLayer::init(GJGameLevel* level)
50{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected