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

Method create

Source/GroundLayer.cpp:97–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97GroundLayer* GroundLayer::create(int groundID)
98{
99 GroundLayer* pRet = new (std::nothrow) GroundLayer();
100
101 if (pRet && pRet->init(groundID))
102 {
103 pRet->autorelease();
104 return pRet;
105 }
106 else
107 {
108 AX_SAFE_DELETE(pRet);
109 return nullptr;
110 }
111}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected