CCRectShape* CCRectShape::create(const cocos2d::CCSize &size, bool fill) { CCRectShape* rect = new CCRectShape(); rect->m_size = size; rect->m_fill = fill; rect->autorelease(); return rect; }
CCRectShape* CCRectShape::create(const cocos2d::CCSize &size) { CCRectShape* rect = new CCRectShape(size); rect->autorelease(); return rect; }