add CCObject::copy

This commit is contained in:
HJfod 2022-10-23 14:43:27 +03:00
parent daf16a20da
commit b42d6ae2cc

View file

@ -5,6 +5,11 @@
#include <cocos2d.h>
using namespace cocos2d;
CCObject* CCObject::copy()
{
return copyWithZone(0);
}
/** Allocates and initializes a new array with specified capacity */
ccArray* cocos2d::ccArrayNew(unsigned int capacity)
{