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

Method create

Source/MoreGamesLayer.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "GameToolbox/getTextureString.h"
27
28MoreGamesLayer* MoreGamesLayer::create(){
29 auto pRet = new(std::nothrow) MoreGamesLayer();
30
31 if (pRet && pRet->init()) {
32 pRet->autorelease();
33 return pRet;
34 } else {
35 AX_SAFE_DELETE(pRet);
36 return nullptr;
37 }
38}
39
40bool MoreGamesLayer::init()
41{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected