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

Method create

Source/MoveNode.cpp:21–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "MoveNode.h"
20
21CCMoveNode* CCMoveNode::create()
22{
23 CCMoveNode* ret = new CCMoveNode();
24 if (ret->init())
25 {
26 ret->autorelease();
27 return ret;
28 }
29 else
30 {
31 delete ret;
32 ret = nullptr;
33 return nullptr;
34 }
35}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected