LuaSkeletonAnimation* LuaSkeletonAnimation::createWithFile (const char* skeletonDataFile, const char* atlasFile, float scale) { LuaSkeletonAnimation* node = new LuaSkeletonAnimation(skeletonDataFile, atlasFile, scale); node->autorelease(); return node; }
LuaSkeletonAnimation* LuaSkeletonAnimation::createWithData (spSkeletonData *data) { LuaSkeletonAnimation* node = new (std::nothrow) LuaSkeletonAnimation(data); node->autorelease(); return node; }