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

Method create

Source/SimplePlayer.cpp:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126SimplePlayer* SimplePlayer::create(int cubeID) {
127 auto pRet = new (std::nothrow) SimplePlayer();
128
129 if (pRet && pRet->init(cubeID)) {
130 pRet->autorelease();
131 return pRet;
132 }
133 AX_SAFE_DELETE(pRet);
134 return pRet;
135}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected