mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-25 04:11:42 -04:00
add CCObject::copy
This commit is contained in:
parent
daf16a20da
commit
b42d6ae2cc
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue