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

Method create

Source/CircleWave.cpp:120–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120CircleWave* CircleWave::create(float duration, Color4B color, float radiusMin, float radiusMax, bool easing, bool filled, float lineWidth)
121{
122 auto pRet = new(std::nothrow) CircleWave();
123
124 if (pRet && pRet->init(duration, color, radiusMin, radiusMax, easing, lineWidth, filled))
125 {
126 pRet->autorelease();
127 return pRet;
128 }
129 else
130 {
131 AX_SAFE_DELETE(pRet);
132 return nullptr;
133 }
134}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected